Skip to content

Commit

Permalink
Disable Chrome font boosting in footer (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeso committed Dec 28, 2023
1 parent ab2eddd commit 213c7b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions assets/css/base.tpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,7 @@ kbd:has(kbd) {
text-decoration: none;
display: inline-block;
}

.u-noboosting {
max-height: 1000000px;
}
2 changes: 1 addition & 1 deletion assets/xml/base.tpl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{{ with site.Params.footer }}
<footer class="Footer">
<div class="u-wrapper">
<div class="u-padding">
<div class="u-padding u-noboosting">
{{ safeHTML . }}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ with site.Params.footer }}
<footer class="Footer">
<div class="u-wrapper">
<div class="u-padding">
<div class="u-padding u-noboosting">
{{ safeHTML . }}
</div>
</div>
Expand Down

0 comments on commit 213c7b8

Please sign in to comment.