mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-16 01:26:16 -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
Vendored
+1
@@ -874,6 +874,7 @@ export interface CssVar {
|
||||
'--art-border-radius': string
|
||||
'--art-progress-height': string
|
||||
'--art-progress-color': string
|
||||
'--art-progress-top-gap': string
|
||||
'--art-hover-color': string
|
||||
'--art-loaded-color': string
|
||||
'--art-state-size': string
|
||||
|
||||
@@ -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;
|
||||
|
||||
Vendored
+1
@@ -8,6 +8,7 @@ export interface CssVar {
|
||||
'--art-border-radius': string
|
||||
'--art-progress-height': string
|
||||
'--art-progress-color': string
|
||||
'--art-progress-top-gap': string
|
||||
'--art-hover-color': string
|
||||
'--art-loaded-color': string
|
||||
'--art-state-size': string
|
||||
|
||||
Reference in new issue
Block a user