Skip to content

Commit 89d174c

Browse files
committed
Improve status bar layout
1 parent 2bd016e commit 89d174c

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/styles/ableplayer.css

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -351,29 +351,24 @@ input[type=range]::-moz-range-thumb {
351351
Status Bar
352352
*/
353353
.able-status-bar {
354-
height: 1.5em;
355-
min-height: 1.5em;
356354
color: #ccc;
357355
font-size: 0.9em;
358356
background-color: transparent;
359357
padding: 0.5em 0.5em 0.25em;
358+
display: flex;
359+
align-items: center;
360+
justify-content: space-between;
360361
}
361362
.able-status-bar span.able-timer {
362363
/* contains both span.elapsedTime and span.duration */
363364
text-align: left;
364-
float: left;
365-
width: 32%;
366365
}
367366
.able-status-bar span.able-speed {
368-
float: left;
369-
width: 33%;
370367
text-align: center;
371368
}
372369
.able-status {
373370
font-style: italic;
374-
float: right;
375-
width: 32%;
376-
text-align :right;
371+
text-align: right;
377372
}
378373

379374
/*

0 commit comments

Comments
 (0)