1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-04-21 12:25:31 -04:00

refactor the link underline logic to produce smaller output

This commit is contained in:
2022-03-04 09:33:44 -05:00
parent 71fe4455d1
commit f8b6378faf
16 changed files with 77 additions and 55 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ const Anchor = styled("a", {
},
// don't require hover to show anchor link on small (likely touch) screens
"@mobile": {
"@medium": {
opacity: 1,
},
});
@@ -34,7 +34,7 @@ const H = styled("h1", {
// note: use rem so it isn't based on the heading's font size.
scrollMarginTop: "5.5rem",
"@mobile": {
"@medium": {
scrollMarginTop: "6.5rem",
},