mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-04-21 10:45:30 -04:00
refactor the link underline logic to produce smaller output
This commit is contained in:
@@ -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",
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user