perf: 进度条新增 padding-top 样式,防止点击进度条误触暂停 (#1004)

This commit is contained in:
Aruelius.L authored and GitHub committed 2025-10-05 18:04:59 +08:00
1 parent b5b52bbf17
commit 987795503b
4 files changed
+4

No files matched your search

+1
View File
@@ -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;
+1
View File
@@ -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