Skip to content

Commit

Permalink
fix: add base padding for smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizendae authored and yjose committed Nov 12, 2024
1 parent 91eaa9f commit 8ec0da8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/about/our-story.astro
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const STORY_TIMELINE: Array<TimelineItemType & { description: string }> = [
---

<section id="our-story" class="bg-neutral-light-20">
<div class="container mx-auto !px-0">
<div class="container mx-auto">
<div
class="flex flex-col items-center py-20 md:flex-row md:justify-between"
>
Expand Down
1 change: 1 addition & 0 deletions src/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ h1, h2, h3, h4, h5, h6 {

.container {
@apply mx-auto w-full
px-4 sm:px-0 /* Base padding for smaller screens */
max-w-[90rem] /* 1440px max-width */
sm:max-w-[640px]
md:max-w-[768px]
Expand Down

0 comments on commit 8ec0da8

Please sign in to comment.