Skip to content

Commit 54b9e03

Browse files
authored
resolves #9 use -webkit-text-stroke-width to bold current page in nav to avoid reflow (PR #67)
1 parent ec06f87 commit 54b9e03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/css/nav.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,11 @@
178178

179179
.is-current-page > .nav-link,
180180
.is-current-page > .nav-text {
181+
/*
181182
font-weight: var(--body-font-weight-bold);
183+
letter-spacing: -0.004em;
184+
*/
185+
-webkit-text-stroke-width: 0.02em;
182186
}
183187

184188
.nav-panel-explore {

0 commit comments

Comments
 (0)