mirror of https://github.com/vector-im/riot-web
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
parent
39262215cd
commit
e2a612b070
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue