You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-09 08:42:50 +03:00
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>
This commit is contained in:
@@ -58,10 +58,10 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mx_Clock {
|
.mx_Clock {
|
||||||
width: $font-42px; // we're not using a monospace font, so fake it
|
|
||||||
min-width: $font-42px; // for flexbox
|
min-width: $font-42px; // for flexbox
|
||||||
padding-left: 4px; // isolate from seek bar
|
padding-left: $spacing-4; // isolate from seek bar
|
||||||
text-align: right;
|
text-align: justify;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user