Skip to content

Commit

Permalink
Fixed container header bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaemonCahill committed Nov 6, 2023
1 parent 566cc7c commit 48eb21d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/container/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,10 @@
}

&.with-paddings {
padding-block: shared.$header-padding;
padding-inline: shared.$header-padding;
padding-block-start: awsui.$space-container-header-top;
padding-block-end: awsui.$space-container-header-bottom;
padding-inline: awsui.$space-container-horizontal;

&.header-variant-cards {
padding-block: awsui.$space-container-header-top;
padding-inline: awsui.$space-container-horizontal;
Expand Down Expand Up @@ -242,8 +244,8 @@ the default white background of the container component.

.footer {
&.with-paddings {
padding-block: shared.$footer-padding;
padding-inline: shared.$footer-padding;
padding-block: awsui.$space-scaled-s;
padding-inline: awsui.$space-container-horizontal;
}

&.with-divider {
Expand Down

0 comments on commit 48eb21d

Please sign in to comment.