aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src/components/base/Section.astro
diff options
context:
space:
mode:
authorLynithDev <61880709+LynithDev@users.noreply.github.com>2023-12-30 11:37:33 +0100
committerLynithDev <61880709+LynithDev@users.noreply.github.com>2023-12-30 11:37:33 +0100
commitd568fe0235de920f2b97f70777bab94c114d5654 (patch)
treef9b42bd3138d8f9e08320f7d62253dff388a2a56 /apps/website/src/components/base/Section.astro
parent17d8ba3e604a73a2e60e7490ba9a1c3e146e0cf3 (diff)
downloadNexus-d568fe0235de920f2b97f70777bab94c114d5654.tar.gz
Nexus-d568fe0235de920f2b97f70777bab94c114d5654.tar.bz2
Nexus-d568fe0235de920f2b97f70777bab94c114d5654.zip
Responsive tweaks
Diffstat (limited to 'apps/website/src/components/base/Section.astro')
-rw-r--r--apps/website/src/components/base/Section.astro6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/website/src/components/base/Section.astro b/apps/website/src/components/base/Section.astro
index a12ed12..c463a16 100644
--- a/apps/website/src/components/base/Section.astro
+++ b/apps/website/src/components/base/Section.astro
@@ -20,10 +20,10 @@ const {
const twoColumn = Astro.slots.has('left') || Astro.slots.has('right');
-const twoColumnClasses = ` ${maxWidth === 'none' ? 'justify-center' : 'justify-center md:justify-evenly lg:justify-between'}
- ${colReverse ? 'flex-col-reverse' : 'flex-col'} md:flex-row items-center md:flex-row`;
+const twoColumnClasses = ` ${maxWidth === 'none' ? 'justify-center' : 'justify-center lg:justify-between'}
+ ${colReverse ? 'flex-col-reverse' : 'flex-col'} lg:flex-row items-center`;
-const className = `max-w-[${maxWidth}] ${hFull ? 'min-h-screen' : 'h-auto'} ${wFull ? 'w-full' : `w-[${maxWidth}]`} px-5 md:p-0 flex gap-x-20 gap-y-4${twoColumn ? twoColumnClasses : ''}${props.class ? ` ${props.class}` : ''}`;
+const className = `max-w-[${maxWidth}] ${hFull ? 'min-h-screen' : 'h-auto'} ${wFull ? 'w-full' : `w-[${maxWidth}]`} px-5 xl:px-0 flex gap-x-20 gap-y-4${twoColumn ? twoColumnClasses : ''}${props.class ? ` ${props.class}` : ''}`;
---
<section class={`w-full outline-none flex justify-center ${wrapperClass ?? ''}`}>