Skip to content

Commit e4e47e9

Browse files
committed
fix no background
1 parent fcb8ea3 commit e4e47e9

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/components/Navigation/Headerbar.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const { pageTitle } = Astro.props;
2727
.centre {
2828
justify-content: center;
2929
align-items: center;
30+
flex-grow: 2;
3031
}
3132

3233
.trailing {

src/styles/global.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,17 +155,18 @@ a[href^="http"]:not(:has(.arrow)):not(:has(img)):not(:has(svg)):not(
155155
}
156156

157157
@media (max-width: 750px) {
158-
html {
158+
html,
159+
body {
159160
background: oklch(from var(--accent-color) 0.98 0.03 h);
160161
}
161162

162163
@media (prefers-color-scheme: dark) {
163-
html {
164+
html,
165+
body {
164166
background: oklch(from var(--accent-color) 0.25 0.03 h);
165167
}
166168
}
167-
168-
html,
169+
transparent html,
169170
body {
170171
margin: 0;
171172
max-width: unset;
@@ -174,7 +175,6 @@ a[href^="http"]:not(:has(.arrow)):not(:has(img)):not(:has(svg)):not(
174175

175176
body {
176177
min-height: 100vh;
177-
background: transparent;
178178
box-shadow: none;
179179
}
180180

0 commit comments

Comments
 (0)