Skip to content

Commit

Permalink
feat(css): apply font features to :root
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Aug 23, 2018
1 parent 17804b8 commit 6831f2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _app/assets/themes/curtana/_js/app.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Detect user platform
document.body.setAttribute('data-ua', navigator.userAgent);
document.documentElement.setAttribute('data-ua', navigator.userAgent);
2 changes: 1 addition & 1 deletion _app/assets/themes/curtana/_scss/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// -----------------------------------------------------------------------------

// Typography setup
body[data-ua*="Windows"] {
:root[data-ua*="Windows"] {
--font-features: normal;
}

Expand Down

0 comments on commit 6831f2b

Please sign in to comment.