Skip to content

Commit

Permalink
[TASK] Add class container--full, remove inline start and end paddi…
Browse files Browse the repository at this point in the history
…ng only if a container is nested in a container without a class for full width
  • Loading branch information
deoostfrees committed Sep 17, 2023
1 parent 3e16ed8 commit 7ec48bf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions css/gibki.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@
.container--small {
max-inline-size: var(--gibki-small-container-max-width);
}
.container--full-width {
.container--full, .container--full-width {
max-inline-size: none;
padding-inline-end: 0;
padding-inline-start: 0;
}
.container .container {
.container:not(.container--full, .container--full-width) .container {
padding-inline-start: 0;
padding-inline-end: 0;
}
Expand Down
Loading

0 comments on commit 7ec48bf

Please sign in to comment.