Skip to content

Commit

Permalink
Revert "revert grid-width fix. comming from Milo (#155)"
Browse files Browse the repository at this point in the history
This reverts commit 0e9268e.
  • Loading branch information
meganthecoder authored Nov 14, 2023
1 parent 0e9268e commit 8cf2943
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,41 @@ div[class*='-up'] .con-block.has-bg.text-block.text-list,
.caas-spacing-m {
min-height: 500px;
}

/* Section metadata fix */
main > .section[class*='-up'] > .content {
max-width: initial;
margin: 0;
}

main .section[class*='grid-width-'] {
padding-left: unset;
padding-right: unset;
display: block;
}

main .section.two-up,
main .section.three-up,
main .section.four-up,
main .section.five-up {
display: grid;
padding-left: var(--grid-margins-width);
padding-right: var(--grid-margins-width);
}

@media screen and (min-width: 1200px) {
main .section.grid-width-10 {
padding-left: var(--grid-margins-width-10);
padding-right: var(--grid-margins-width-10);
}

main .section.grid-width-8 {
padding-left: var(--grid-margins-width-8);
padding-right: var(--grid-margins-width-8);
}

main .section.grid-width-6 {
padding-left: var(--grid-margins-width-6);
padding-right: var(--grid-margins-width-6);
}
}

0 comments on commit 8cf2943

Please sign in to comment.