🐞 fix: Move max-width to global styles
Sync TODOs with Issues / sync_todos (push) Successful in 5s

This commit is contained in:
Keith Solomon
2026-05-27 19:05:46 -05:00
parent 54482b0e2b
commit 4bf9f0ed45
3 changed files with 34 additions and 53 deletions
+10 -25
View File
@@ -31,24 +31,19 @@ main#maincontent {
.container {
margin: 0 auto;
width: 100%;
max-width: 80.5rem;
padding-inline: clamp(1.5rem, 5vw, 3rem);
width: 100%;
}
.section {
@apply relative my-section px-section;
&:first-child {
@apply mt-0;
}
&:first-child { @apply mt-0; }
&:last-child, p:last-child {
@apply mb-0;
}
&:last-child, p:last-child { @apply mb-0; }
&.has-background {
@apply py-section bg-cover bg-no-repeat;
}
&.has-background { @apply py-section bg-cover bg-no-repeat; }
}
/** Allows containers inside containers
@@ -59,25 +54,15 @@ main#maincontent {
*/
.content-wrapper {
.alignfull {
@apply max-w-full;
}
.alignfull { @apply max-w-full; }
.alignwide {
@apply max-w-full;
}
.alignwide { @apply max-w-full; }
.alignleft {
@apply ml-0 mr-auto float-none;
}
.alignleft { @apply ml-0 mr-auto float-none; }
.alignright {
@apply ml-auto mr-0 float-none;
}
.alignright { @apply ml-auto mr-0 float-none; }
.aligncenter {
@apply mx-auto;
}
.aligncenter { @apply mx-auto; }
}
/* Responsive embeds */
-3
View File
@@ -5,8 +5,6 @@
background: linear-gradient(90.15deg, #0773AC -39.25%, #032F46 100%);
.header__nav-main {
max-width: 80.5rem;
.nav-main { @apply self-stretch; }
}
@@ -15,7 +13,6 @@
.header__nav-aux {
@apply px-0!;
max-width: 80.5rem;
}
a {
@@ -3,7 +3,6 @@
.contact-block {
background-color: var(--color-navy, #0d1f35);
border-bottom: 1rem solid var(--color-orange, #F26B53);
max-width: 80.5rem;
overflow: hidden;
position: relative;