Scale voice message clock with user's font size

Fixes https://github.com/vector-im/element-web/issues/17185
This commit is contained in:
Travis Ralston 2021-05-07 19:27:52 -06:00
parent c2ae6c279b
commit b56d7c9ae8

View file

@ -46,7 +46,7 @@ limitations under the License.
} }
.mx_Clock { .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-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 padding-left: 8px; // isolate from recording circle / play control
} }