Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit e2a612b

Browse files
luixxiult3chguy
andauthored
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 <[email protected]> * Use text-align: justify Signed-off-by: Suguru Hirahara <[email protected]> Co-authored-by: Michael Telatynski <[email protected]>
1 parent 3926221 commit e2a612b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

res/css/views/audio_messages/_AudioPlayer.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ limitations under the License.
5858
}
5959

6060
.mx_Clock {
61-
width: $font-42px; // we're not using a monospace font, so fake it
6261
min-width: $font-42px; // for flexbox
63-
padding-left: 4px; // isolate from seek bar
64-
text-align: right;
62+
padding-left: $spacing-4; // isolate from seek bar
63+
text-align: justify;
64+
white-space: nowrap;
6565
}
6666
}
6767
}

0 commit comments

Comments
 (0)