Skip to content

Commit b43e6a8

Browse files
committed
Actually, make layouts 770px
1 parent 5087449 commit b43e6a8

9 files changed

+9
-9
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 > 767 - 60;
37+
const largeSketch = props.previewWidth && props.previewWidth > 770 - 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-[767px]"
49+
containerClass="relative h-fit w-fit max-w-[770px]"
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-[767px]">
62+
<div class="mt-xl mb-4xl lg:mb-3xl max-w-[770px]">
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-[767px]">
61+
<h3 class="mb-xl max-w-[770px]">
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-[767px]">
88+
<div class="content-grid mt-0 max-w-[770px]">
8989
<div class="col-span-9 xl:min-w-[1000px]">
9090
<div
9191
set:html={description}

src/layouts/SketchLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const iframeTitle = `OpenProcessing Sketch: ${sketchInfo.title} by ${authorName}
6363
variant="item"
6464
topic={"community"}
6565
>
66-
<div class="max-w-[767px]">
66+
<div class="max-w-[770px]">
6767
<div style={{
6868
position: 'relative',
6969
width: '100%',

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-[767px] [&>*:first-child]:mt-0 rendered-markdown pb-[80px]">
33+
<div class="max-w-[770px] [&>*:first-child]:mt-0 rendered-markdown pb-[80px]">
3434
<Content />
3535
</div>
3636
</BaseLayout>

styles/variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Media query breakpoints
22
// Intentionally defined as SCSS variables as CSS variables are not supported by media queries.
33
// These are mirrored in Tailwind.
4-
$breakpoint-tablet: 767px;
4+
$breakpoint-tablet: 770px;
55
$breakpoint-laptop: 1024px;
66
$breakpoint-desktop: 1280px;
77

tailwind.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
theme: {
55
// These values are mirrored in variables.scss
66
screens: {
7-
md: "767px",
7+
md: "770px",
88
lg: "1024px",
99
xl: "1280px",
1010
},

0 commit comments

Comments
 (0)