Skip to content

Commit

Permalink
Adjust spacing on product portfolio page. (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfullaway authored Apr 26, 2024
1 parent bbe98e3 commit 666c743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/accordion/Accordion.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<div class="grid grid-cols-1 lg:h-5/6" class:lg:grid-cols-6={products.length == 3} class:lg:grid-cols-7={products.length == 4}>
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div role="button" tabindex="0" class="flex flex-col col-span-1 justify-end lg:justify-normal h-96 px-16 lg:px-32 {($active==0 && !$mobile) ? 'col-span-3': ''} {($active!=0 && !$mobile) ? 'col-span-2': ''} bg-[url('/images/shaking_hands.png')] bg-auto bg-no-repeat bg-center lg:h-full" on:click={() => setActive(0)}>
<div role="button" tabindex="0" class="flex flex-col col-span-1 justify-end lg:justify-normal h-96 px-16 lg:px-32 {($active==0 && !$mobile) ? 'col-span-3': ''} {($active!=0 && !$mobile) ? 'col-span-2': ''} bg-[url('/images/shaking_hands.png')] bg-auto bg-no-repeat bg-cover lg:h-full" on:click={() => setActive(0)}>
<div class="h-1/4"></div>
<div class="py-8 text-mcswf-gold font-bold text-center font-expressway text-xl lg:text-4xl">
OUR PRODUCT PORTFOLIO
Expand Down
2 changes: 1 addition & 1 deletion src/pages/products/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ displaySiteBanner.set(false)
---

<Layout title="">
<div class="bg-black h-screen py-20">
<div class="bg-black h-screen">
<Accordion products={products} client:only />
</div>
</Layout>

0 comments on commit 666c743

Please sign in to comment.