Skip to content

Commit

Permalink
antialiased fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Nov 6, 2021
1 parent 886c137 commit 5ebe20e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/_layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</head>

{% assign layout-dark = page.layout-dark | default: site.layout-dark %}
<body class="antialiased{% if layout-dark %} theme-dark{% endif %}{% if layout.body-class %} {{ layout.body-class }}{% endif %}{% if page.body-class %} {{ page.body-class }}{% endif %}">
<body class="{% if layout-dark %} theme-dark{% endif %}{% if layout.body-class %} {{ layout.body-class }}{% endif %}{% if page.body-class %} {{ page.body-class }}{% endif %}">

{{ content }}

Expand Down
3 changes: 3 additions & 0 deletions src/scss/layout/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ body {
position: relative;
min-height: 100%;

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

* {
@include scrollbar;
}
Expand Down

0 comments on commit 5ebe20e

Please sign in to comment.