From dc1b414c2d0d4f0979aaf3a18b0dbbfc3fd20260 Mon Sep 17 00:00:00 2001 From: Ondrej Zara Date: Tue, 1 Oct 2019 15:20:38 +0200 Subject: [PATCH] font fix --- app/app.css | 11 ++++++----- app/css/font.less | 8 ++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/app/app.css b/app/app.css index 5a9a475..f09f782 100644 --- a/app/app.css +++ b/app/app.css @@ -53,14 +53,14 @@ select { padding: 2px 4px; } @font-face { - font-family: 'Lato'; - src: url('font/LatoLatin-Regular.woff2') format('woff2'); + font-family: "Lato"; + src: url("font/LatoLatin-Regular.woff2") format("woff2"); font-style: normal; font-weight: normal; } @font-face { - font-family: 'Lato'; - src: url('font/LatoLatin-bold.woff2') format('woff2'); + font-family: "Lato"; + src: url("font/LatoLatin-Bold.woff2") format("woff2"); font-style: bold; font-weight: normal; } @@ -106,9 +106,10 @@ x-range { --elapsed-color: #ddd; --remaining-color: transparent; --radius: calc(var(--track-size)/2); + display: inline-block; + position: relative; width: 192px; height: 16px; - position: relative; } x-range .-track, x-range .-elapsed, diff --git a/app/css/font.less b/app/css/font.less index 6568457..a1ec98f 100644 --- a/app/css/font.less +++ b/app/css/font.less @@ -1,13 +1,13 @@ @font-face { - font-family: 'Lato'; - src: url('font/LatoLatin-Regular.woff2') format('woff2'); + font-family: "Lato"; + src: url("font/LatoLatin-Regular.woff2") format("woff2"); font-style: normal; font-weight: normal; } @font-face { - font-family: 'Lato'; - src: url('font/LatoLatin-bold.woff2') format('woff2'); + font-family: "Lato"; + src: url("font/LatoLatin-Bold.woff2") format("woff2"); font-style: bold; font-weight: normal; }