mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
perf: 进度条新增 padding-top 样式,防止点击进度条误触暂停 (#1004)
This commit is contained in:
1 parent
b5b52bbf17
commit
987795503b
4 files changed
+4
No files matched your search
@@ -3,6 +3,7 @@
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
pointer-events: auto;
|
||||
padding-top: var(--art-progress-top-gap);
|
||||
padding-bottom: var(--art-bottom-gap);
|
||||
|
||||
.art-control-progress {
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
--art-border-radius: 3px;
|
||||
--art-progress-height: 6px;
|
||||
--art-progress-color: rgba(255, 255, 255, 0.25);
|
||||
--art-progress-top-gap: 8px;
|
||||
--art-hover-color: rgba(255, 255, 255, 0.25);
|
||||
--art-loaded-color: rgba(255, 255, 255, 0.25);
|
||||
--art-state-size: 80px;
|
||||
|
||||
Reference in new issue
Block a user