Skip to content

Commit ee384b4

Browse files
authored
Merge pull request #119 from vlitejs/fix/progress-bar-height
Increase progress bar height
2 parents 15f453b + 6fc9c35 commit ee384b4

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/components/control-bar/control-bar.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
position: relative;
9797
width: 100%;
9898
height: var(--vlite-controlBarHeight);
99-
padding-top: var(--vlite-progressBarHeight);
99+
padding-top: calc(var(--vlite-progressBarHeight) + 10px);
100100
text-align: right;
101101
padding-left: var(--vlite-controlBarHorizontalPadding);
102102
padding-right: var(--vlite-controlBarHorizontalPadding);
@@ -117,6 +117,7 @@
117117

118118
.v-progressBar {
119119
order: 2;
120+
height: 25px;
120121
}
121122

122123
.v-time {
@@ -132,15 +133,11 @@
132133
.v-controlBar {
133134
padding-top: 0;
134135
}
135-
136-
.v-progressBarStyle {
137-
height: 25px;
138-
}
139136
}
140137

141138
&-video {
142139
.v-progressBar {
143-
height: var(--vlite-progressBarHeight);
140+
height: calc(var(--vlite-progressBarHeight) + 10px);
144141
}
145142

146143
.v-controlBar {
@@ -154,6 +151,8 @@
154151
top: 0;
155152
left: 50%;
156153
transform: translateX(-50%);
154+
display: flex;
155+
align-items: flex-end;
157156
}
158157
}
159158
}

src/core/vlite.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--vlite-transition: 0.25s ease;
44

55
/* Control bar */
6-
--vlite-controlBarHeight: 50px;
6+
--vlite-controlBarHeight: 60px;
77
--vlite-controlBarHorizontalPadding: 10px;
88
--vlite-controlBarBackground: linear-gradient(to top, #000 -50%, transparent);
99

0 commit comments

Comments
 (0)