Skip to content

Commit

Permalink
fix(style): script generated styles been removed by uncss
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Mar 13, 2017
1 parent c83b5d2 commit 5e78d47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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,4 +1,4 @@
// Detect user platform
if (navigator.platform.match(/(Mac|iPhone|iPod|iPad)/i)) {
document.body.classList.add('system--apple');
document.body.classList.add('js-system--apple');
}
4 changes: 2 additions & 2 deletions _app/assets/themes/curtana/_less/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
// TODO: need better solution
// Apply `font-feature` for Apple devices, since these features are only
// available for San Francisco. implemented in `app.js`
.system {
.js-system {

&--apple {
font-feature-settings: @font-features;
font-feature-settings: "case", "ss01", "ss02";
}
}

Expand Down

0 comments on commit 5e78d47

Please sign in to comment.