Skip to content

Commit 5087449

Browse files
committed
Make all page breakpoints 767px
1 parent 1c3e5a4 commit 5087449

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/components/CodeEmbed/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const CodeEmbed = (props) => {
3434
initialCode.replace(/\u00A0/g, " "),
3535
);
3636

37-
const largeSketch = props.previewWidth && props.previewWidth > 650;
37+
const largeSketch = props.previewWidth && props.previewWidth > 767 - 60;
3838

3939
const codeFrameRef = useRef(null);
4040

src/layouts/EventLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const relatedEvents =
4646
{
4747
entry.data.featuredImage && entry.data.featuredImageAlt && (
4848
<Image
49-
containerClass="relative h-fit w-fit max-w-[750px]"
49+
containerClass="relative h-fit w-fit max-w-[767px]"
5050
src={entry.data.featuredImage}
5151
alt={entry.data.featuredImageAlt}
5252
/>

src/layouts/ExampleLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const { Content } = await example.render();
5959
topic="examples"
6060
className="example"
6161
>
62-
<div class="mt-xl mb-4xl lg:mb-3xl max-w-[750px]">
62+
<div class="mt-xl mb-4xl lg:mb-3xl max-w-[767px]">
6363
<div class="rendered-markdown">
6464
<Content />
6565
</div>

src/layouts/PeopleLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ setJumpToState(null);
5858
<Head title={"People"} locale={currentLocale} />
5959

6060
<BaseLayout title={title} variant="item" topic="about" className="about">
61-
<h3 class="mb-xl max-w-[750px]">
61+
<h3 class="mb-xl max-w-[767px]">
6262
{t("peoplePage", "PageDescription")}
6363
</h3>
6464
{

src/layouts/ReferenceItemLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const seenParams: Record<string, true> = {};
8585
topic="reference"
8686
className="reference-item"
8787
>
88-
<div class="content-grid mt-0 max-w-[750px]">
88+
<div class="content-grid mt-0 max-w-[767px]">
8989
<div class="col-span-9 xl:min-w-[1000px]">
9090
<div
9191
set:html={description}

src/layouts/TextDetailLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ setJumpToState(null);
3030
className={pageTopic}
3131
subtitle={null}
3232
>
33-
<div class="max-w-[750px] [&>*:first-child]:mt-0 rendered-markdown pb-[80px]">
33+
<div class="max-w-[767px] [&>*:first-child]:mt-0 rendered-markdown pb-[80px]">
3434
<Content />
3535
</div>
3636
</BaseLayout>

0 commit comments

Comments
 (0)