1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-18 16:05:33 -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

View File

@@ -10,13 +10,13 @@ const Wrapper = styled("ul", {
padding: 0,
margin: 0,
"@mobile": {
"@medium": {
width: "100%",
justifyContent: "space-between",
marginLeft: "1em",
},
"@superNarrow": {
"@small": {
marginLeft: "1.4em",
},
});
@@ -26,11 +26,11 @@ const Item = styled("li", {
display: "inline-flex",
marginLeft: "1em",
"@mobile": {
"@medium": {
marginLeft: 0,
},
"@superNarrow": {
"@small": {
// the home icon is kinda redundant when space is SUPER tight
"&:first-of-type": {
display: "none",