From 9483a543b498ed4e041710c0e6df10ca80d71698 Mon Sep 17 00:00:00 2001 From: Nick Moore Date: Fri, 13 Oct 2023 10:24:55 -0400 Subject: [PATCH] Landscape Tablet cleanup --- src/components/Navbar.svelte | 6 ++ .../memberFeed/MemberFeedItem.svelte | 67 +++++++++++-------- src/components/ui/Hero.svelte | 35 +++++++--- src/routes/+layout.svelte | 6 ++ 4 files changed, 77 insertions(+), 37 deletions(-) diff --git a/src/components/Navbar.svelte b/src/components/Navbar.svelte index 32b4c8d..d7660de 100644 --- a/src/components/Navbar.svelte +++ b/src/components/Navbar.svelte @@ -40,6 +40,12 @@ -webkit-backdrop-filter: blur(9.5px); transition: ease-in-out .3s; } +@media only screen and (max-width: 1366px) { + .nav { + padding-inline: 4rem; + } +} + @media only screen and (max-width: 430px) { .nav { padding-inline: 1.5rem; diff --git a/src/components/memberFeed/MemberFeedItem.svelte b/src/components/memberFeed/MemberFeedItem.svelte index a25880c..2577f63 100644 --- a/src/components/memberFeed/MemberFeedItem.svelte +++ b/src/components/memberFeed/MemberFeedItem.svelte @@ -18,48 +18,57 @@ diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index e29a51a..4f445b9 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -35,6 +35,12 @@ background-color: var(--primary-bg-color); } +@media only screen and (max-width: 1366px) { + .page-content { + padding: 0 4rem; + } +} + @media only screen and (max-width: 430px) { .page-content { padding: 0;