Commit c4deed9
authored
bugfix: sponsor packages page now has the same width as other pages (#1529)
Previously, the sponsor packages page (`/sponsorship/sponsor/`) was not
the same width as all other content pages (it was narrower and looked
odd when navigating between pages).
This was due to `MarkdownLayout` having different default styling than
`SectionLayout`, the latter of which is used for most pages.
I have fixed it by adding a `full` parameter to the frontmatter which is
then handled in `MarkdownLayout` via `[...slug].astro` to allow pages to
be full width. The `sponsor.mdx` page was updated with `full: true`.
# Screenshots
## Before
<img width="2958" height="2196" alt="CleanShot 2026-03-09 at 05 18
16@2x"
src="https://github.com/user-attachments/assets/670f6278-610b-443d-b2db-4ceacd4d9e5e"
/>
## After
<img width="2956" height="2300" alt="CleanShot 2026-03-09 at 05 18
34@2x"
src="https://github.com/user-attachments/assets/48ca0eb8-33ed-4765-87ba-68faf644bb66"
/>
# Mobile
Designed / layout is unchanged on mobile.
<!-- readthedocs-preview ep-website start -->
🖼️ Preview available 🖼️ :
https://ep-website--1529.org.readthedocs.build/
<!-- readthedocs-preview ep-website end -->1 parent f5a6327 commit c4deed9
3 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments