Skip to content

Commit

Permalink
Merge pull request #44 from wearerequired/fix/font-size
Browse files Browse the repository at this point in the history
Fix invalid CSS syntax for base font size
  • Loading branch information
midzer authored Nov 20, 2020
2 parents 5062370 + 72338e6 commit 9e192d0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/css/tobii.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--base-font-size: 18;
--base-font-size: 18px;
--transition-duration: 0.3s;
--transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
--zoom-icon-background: hsla(210, 38%, 16%, 0.94);
Expand Down Expand Up @@ -65,8 +65,8 @@
bottom: 0;
box-sizing: border-box;
contain: strict;
font-size: 18 px;
font-size: var(--base-font-size) px;
font-size: 18px;
font-size: var(--base-font-size);
left: 0;
line-height: 1.5;
overflow: hidden;
Expand Down
2 changes: 1 addition & 1 deletion dist/css/tobii.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/scss/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--base-font-size: 18;
--base-font-size: 18px;

--transition-duration: 0.3s;
--transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
Expand Down
2 changes: 1 addition & 1 deletion src/scss/tobii.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
bottom: 0;
box-sizing: border-box;
contain: strict;
font-size: var(--base-font-size)px;
font-size: var(--base-font-size);
left: 0;
line-height: 1.5;
overflow: hidden;
Expand Down

0 comments on commit 9e192d0

Please sign in to comment.