Skip to content

Commit a11c2ed

Browse files
committed
Old width size.
1 parent 38d750a commit a11c2ed

File tree

6 files changed

+20
-12
lines changed

6 files changed

+20
-12
lines changed

src/components/prose/prose.astro

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
export interface Props {
33
class?: string;
4+
full?: boolean;
45
}
56
6-
const { class: className } = Astro.props;
7+
const { class: className, full=false } = Astro.props;
78
---
89

910
<article
@@ -17,12 +18,7 @@ const { class: className } = Astro.props;
1718
"prose-li:marker:text-text",
1819
className,
1920
]}
21+
style={full ? "max-width: none !important;": "margin:auto;"}
2022
>
2123
<slot />
2224
</article>
23-
24-
<style>
25-
.prose {
26-
max-width: none !important;
27-
}
28-
</style>

src/layouts/MarkdownLayout.astro

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ const { title, description } = Astro.props;
1515
</Prose>
1616
</Section>
1717
</Layout>
18+
19+
<style is:global>
20+
.prose {
21+
max-width: 65ch;
22+
}
23+
</style>

src/pages/overview.astro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import Layout from "../layouts/MarkdownLayout.astro";
2+
import Layout from "../layouts/Layout.astro";
33
import Headline from "@ui/Headline.astro"
44
import Section from "@ui/Section.astro";
55
@@ -9,9 +9,10 @@ import Section from "@ui/Section.astro";
99
title="EuroPython 2025 | July 14th-20th 2025 | Prague, Czech Republic & Remote"
1010
description="EuroPython is the largest Python conference in Europe. We are looking forward to seeing you in Prague, Czech Republic & Remote from July 14th-20th 2025."
1111
>
12+
<Section>
1213
<Headline id="oveview" title="Programme & Events Overview" center=true />
1314

14-
<div class="events-container w-full">
15+
<div class="events-container w-full prose prose-xl">
1516
<div class="decorative-border"></div>
1617

1718
<div class="events-grid">
@@ -82,6 +83,7 @@ import Section from "@ui/Section.astro";
8283

8384
<div class="decorative-border"></div>
8485
</div>
86+
</Section>
8587
</Layout>
8688

8789
<style>

src/pages/sessions.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const description = "A list of all the sessions at the conference";
2626

2727
<Layout title={title} description={description}>
2828
<Section>
29-
<Prose>
29+
<Prose full>
3030
<h1>Sessions</h1>
3131
<p>Here you can find a list of all the sessions at the conference.</p>
3232
<p>You can filter the sessions by track, type, and level.</p>
@@ -35,7 +35,7 @@ const description = "A list of all the sessions at the conference";
3535

3636
<Filter allTracks={allTracks} allTypes={allTypes} allLevels={allLevels} />
3737

38-
<Prose>
38+
<Prose full>
3939
<h2>List of Sessions</h2>
4040
</Prose>
4141

src/pages/speakers.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const description = "Our conference speakers organized alphabetically";
6565

6666
<Layout title={title} description={description}>
6767
<Section>
68-
<Prose>
68+
<Prose full>
6969
<h1>Speakers</h1>
7070
</Prose>
7171

src/styles/global.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ body {
2929
@apply bg-body-background text-text;
3030
}
3131

32+
main section .container {
33+
max-width: 1150px;
34+
}
35+
3236
.layout-wrapper {
3337
display: grid;
3438
grid-template-columns:

0 commit comments

Comments
 (0)