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

Commit

Permalink
Fix the width bounce of the clock on the AudioPlayer (#8320)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
luixxiul and t3chguy authored May 11, 2022
1 parent 3926221 commit e2a612b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions res/css/views/audio_messages/_AudioPlayer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

0 comments on commit e2a612b

Please sign in to comment.