Skip to content

Commit 6169c8b

Browse files
committed
small jumpto links on desktop sizing fix
1 parent b200b78 commit 6169c8b

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

src/components/Nav/styles.module.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,16 +228,27 @@
228228
}
229229

230230
&:not(:global(.small)) {
231+
// text-h3
231232
font-size: 1.5rem;
232233
line-height: 1.167;
233234
-webkit-text-stroke-width: 0.15px;
234235
}
235236
&:global(.small) {
236-
@extend .text-body;
237+
// text-body
238+
font-size: 1rem;
239+
line-height: 1.25;
240+
-webkit-text-stroke-width: 0.05px;
237241
}
238242

239243
@media (min-width: $breakpoint-tablet) {
244+
&:global(.small) {
245+
// text-body-caption
246+
font-size: 0.875rem;
247+
line-height: 1.42;
248+
-webkit-text-stroke-width: 0.1px;
249+
}
240250
&:not(&:global(.small)) {
251+
// text-body-large
241252
font-size: 1.25rem;
242253
line-height: 1.2;
243254
-webkit-text-stroke-width: 0.15px;

0 commit comments

Comments
 (0)