Skip to content

Commit 3052815

Browse files
committed
header logo styling funk, why
1 parent b6363f4 commit 3052815

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/components/subpage-nav.astro

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,15 @@ import Logo from "./logo.astro";
217217
}
218218

219219
.logo-link {
220-
font-size: var(--font-size-4xl);
220+
/*
221+
TODO file bug? needed important b/c styles were applying in dev, but not in prod (build)
222+
that is, padding rules on .subpage-layout > main were taking precedence only once built
223+
*/
224+
font-size: var(--font-size-4xl) !important;
221225
/*
222-
roundabout-ass way to say 18px, experimentally arrived at ... assuredly a better way, will figure out later
223-
point is to make logo and nav buttons look more visually aligned
224-
*/
226+
roundabout-ass way to say 18px, experimentally arrived at ... assuredly a better way, will figure out later
227+
point is to make logo and nav buttons look more visually aligned
228+
*/
225229
margin-top: calc(var(--spacing-onedotfive-rem) * -0.75);
226230
text-decoration: none;
227231

@@ -232,7 +236,7 @@ import Logo from "./logo.astro";
232236
}
233237

234238
@media (min-width: 40rem) {
235-
font-size: var(--font-size-5xl);
239+
font-size: var(--font-size-5xl) !important;
236240
}
237241
}
238242
</style>

0 commit comments

Comments
 (0)