Fix the width bounce of the clock on the AudioPlayer (#8320)

* Remove the hardcoded width of the clock on the AudioPlayer

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use text-align: justify

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
pull/28788/head^2
Suguru Hirahara 2022-05-11 10:58:07 +00:00 committed by GitHub
parent 39262215cd
commit e2a612b070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -58,10 +58,10 @@ limitations under the License.
}
.mx_Clock {
width: $font-42px; // we're not using a monospace font, so fake it
min-width: $font-42px; // for flexbox
padding-left: 4px; // isolate from seek bar
text-align: right;
padding-left: $spacing-4; // isolate from seek bar
text-align: justify;
white-space: nowrap;
}
}
}