diff options
author | Pauline <git@ethanlibs.co> | 2023-12-20 01:58:22 -0500 |
---|---|---|
committer | Pauline <git@ethanlibs.co> | 2023-12-20 01:58:22 -0500 |
commit | 8e85be96a154b371b4cf1fb1924155d96150f949 (patch) | |
tree | 22edab0f259bbdba76d1c8fb790ff2c6cf65db60 /apps/website/src/components/base/Section.astro | |
parent | 64537e64852193cb735ee4853c0f8d07a5222030 (diff) | |
download | Nexus-8e85be96a154b371b4cf1fb1924155d96150f949.tar.gz Nexus-8e85be96a154b371b4cf1fb1924155d96150f949.tar.bz2 Nexus-8e85be96a154b371b4cf1fb1924155d96150f949.zip |
chore(lint): bump deps and fix linting/format
Diffstat (limited to 'apps/website/src/components/base/Section.astro')
-rw-r--r-- | apps/website/src/components/base/Section.astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/website/src/components/base/Section.astro b/apps/website/src/components/base/Section.astro index 4edf1ba..55e3737 100644 --- a/apps/website/src/components/base/Section.astro +++ b/apps/website/src/components/base/Section.astro @@ -19,8 +19,8 @@ const { const twoColumn = Astro.slots.has('left') || Astro.slots.has('right'); const className = `max-w-[${maxWidth}] ${wFull ? 'w-full' : `w-[${maxWidth}]`} px-5 md:p-0 flex gap-4${ - twoColumn ? ` ${maxWidth == 'none' ? 'justify-center' : 'justify-between md:justify-evenly lg:justify-between'} ${colReverse ? 'flex-col-reverse' : 'flex-col'} md:flex-row md:items-center md:flex-row` : '' - }${props.class ? ` ${props.class}` : ''}`; + twoColumn ? ` ${maxWidth === 'none' ? 'justify-center' : 'justify-between md:justify-evenly lg:justify-between'} ${colReverse ? 'flex-col-reverse' : 'flex-col'} md:flex-row md:items-center md:flex-row` : '' +}${props.class ? ` ${props.class}` : ''}`; --- <section class={`w-full flex justify-center ${wrapperClass ?? ''}`}> |