File tree Expand file tree Collapse file tree 1 file changed +28
-27
lines changed Expand file tree Collapse file tree 1 file changed +28
-27
lines changed Original file line number Diff line number Diff line change 7
7
@mouseout =" $emit('hover-audio-progress', false)"
8
8
>
9
9
<div class =" vac-player-progress" >
10
- <div ref = " line " class =" vac-line-container" >
10
+ <div class =" vac-line-container" >
11
11
<div class =" vac-line-progress" :style =" { width: `${percentage}%` }" />
12
12
<div
13
13
class =" vac-line-dot"
@@ -69,38 +69,39 @@ export default {
69
69
display : flex ;
70
70
align-items : center ;
71
71
max-width : calc (100% - 18px );
72
+ margin-right : 7px ;
73
+ margin-left : 20px ;
72
74
73
75
.vac-player-progress {
74
- width : 200px ;
75
- margin : 0 4px 0 14px ;
76
- }
77
- }
76
+ width : 190px ;
78
77
79
- .vac-line-container {
80
- position : relative ;
81
- height : 4px ;
82
- border-radius : 5px ;
83
- background-color : var (--chat-message-bg-color-audio-line );
78
+ .vac-line-container {
79
+ position : relative ;
80
+ height : 4px ;
81
+ border-radius : 5px ;
82
+ background-color : var (--chat-message-bg-color-audio-line );
84
83
85
- .vac-line-progress {
86
- position : absolute ;
87
- height : inherit ;
88
- background-color : var (--chat-message-bg-color-audio-progress );
89
- border-radius : inherit ;
90
- }
84
+ .vac-line-progress {
85
+ position : absolute ;
86
+ height : inherit ;
87
+ background-color : var (--chat-message-bg-color-audio-progress );
88
+ border-radius : inherit ;
89
+ }
91
90
92
- .vac-line-dot {
93
- position : absolute ;
94
- top : -6px ;
95
- margin-left : -15 px ;
96
- height : 15px ;
97
- width : 15px ;
98
- border-radius : 50% ;
99
- background-color : var (--chat-message-bg-color-audio-progress-selector );
100
- transition : transform 0.25s ;
91
+ .vac-line-dot {
92
+ position : absolute ;
93
+ top : -6px ;
94
+ margin-left : -8 px ;
95
+ height : 15px ;
96
+ width : 15px ;
97
+ border-radius : 50% ;
98
+ background-color : var (--chat-message-bg-color-audio-progress-selector );
99
+ transition : transform 0.25s ;
101
100
102
- & __active {
103
- transform : scale (1.2 );
101
+ & __active {
102
+ transform : scale (1.2 );
103
+ }
104
+ }
104
105
}
105
106
}
106
107
}
You can’t perform that action at this time.
0 commit comments