Skip to content

Commit e756259

Browse files
committed
fix: mobile view
1 parent 4def993 commit e756259

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

panda.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ export default defineConfig({
7474
backgroundColor: "bg.default",
7575
color: "fg.default",
7676
},
77+
h1: {
78+
fontSize: "1.5rem",
79+
sm: {
80+
fontSize: "2rem",
81+
}
82+
}
7783
},
7884
globalVars: {
7985
"--global-font-body": "JetBrains Mono Variable, monospace",

src/components/MDContainer.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Box, Container } from "styled-system/jsx";
44
import { GridPattern } from "./mystic/GridPattern";
55
66
interface Props {
7-
class?: string;
7+
class?: string;
88
}
99
1010
const { class: className } = Astro.props;
@@ -18,6 +18,8 @@ const { class: className } = Astro.props;
1818
px="8"
1919
boxShadowColor="fg.canvas"
2020
boxShadow={{ sm: "8px 8px 0 0 var(--shadow-color)" }}
21+
minWidth="0"
22+
width="100%"
2123
>
2224
<main class={css({ maxWidth: "prose" })}>
2325
<slot />

src/layouts/app.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
}
4040

4141
h1 {
42-
font-size: 2rem;
4342
line-height: calc(2 * var(--line-heights-normal));
4443
margin-bottom: calc(var(--line-heights-normal) * 2);
4544
text-transform: uppercase;

0 commit comments

Comments
 (0)