Skip to content

Commit 8a9c74d

Browse files
committed
Remove extra padding on very narrow screens
1 parent 93ad606 commit 8a9c74d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/app/conf/2025/schedule/[id]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export default function SessionPage({ params }: SessionProps) {
7373
<main className="gql-all-anchors-focusable gql-conf-navbar-strip text-neu-900 before:bg-neu-50/40 before:dark:bg-blk/30">
7474
<div className="bg-neu-50 dark:bg-neu-0">
7575
<div className="gql-conf-container">
76-
<div className="gql-conf-section !py-0">
77-
<div className="border-x border-neu-200 pt-8 dark:border-neu-100 2xl:pt-16">
76+
<div className="gql-conf-section max-xs:px-0 !py-0">
77+
<div className="xs:border-x border-neu-200 pt-8 dark:border-neu-100 2xl:pt-16">
7878
<SessionHeader
7979
event={session}
8080
eventTitle={eventTitle}

src/app/conf/2025/speakers/[id]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ export default function SpeakerPage({ params }: SpeakerProps) {
5656
<main className="gql-all-anchors-focusable gql-conf-navbar-strip text-neu-900 before:bg-neu-50/40 before:dark:bg-blk/30">
5757
<div className="bg-neu-50 dark:bg-neu-0">
5858
<div className="gql-conf-container">
59-
<div className="gql-conf-section !py-0">
60-
<div className="border-x border-neu-200 dark:border-neu-100">
59+
<div className="gql-conf-section max-xs:px-0 !py-0">
60+
<div className="xs:border-x border-neu-200 dark:border-neu-100">
6161
<SpeakerHeader
6262
speaker={speaker}
6363
year="2025"

tailwind.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const config: Config = {
2222
],
2323
},
2424
screens: {
25+
xs: "394px",
2526
"3xl": "1920px",
2627
},
2728
colors: {

0 commit comments

Comments
 (0)