From b56d7c9ae866a92f80f9ab7400474aed4e273089 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 7 May 2021 19:27:52 -0600 Subject: [PATCH] Scale voice message clock with user's font size Fixes https://github.com/vector-im/element-web/issues/17185 --- res/css/views/voice_messages/_PlaybackContainer.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/css/views/voice_messages/_PlaybackContainer.scss b/res/css/views/voice_messages/_PlaybackContainer.scss index 64e8f445e1..20def16d6a 100644 --- a/res/css/views/voice_messages/_PlaybackContainer.scss +++ b/res/css/views/voice_messages/_PlaybackContainer.scss @@ -46,7 +46,7 @@ limitations under the License. } .mx_Clock { - width: 42px; // we're not using a monospace font, so fake it + width: $font-42px; // we're not using a monospace font, so fake it padding-right: 6px; // with the fixed width this ends up as a visual 8px most of the time, as intended. padding-left: 8px; // isolate from recording circle / play control }