Skip to content

Commit

Permalink
SO fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
timogasda committed Sep 5, 2023
1 parent 79b17ae commit 197a22b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/header/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
}
}

&-no-actions:not(.root-has-description):not(.refresh) {
// Make sure the header is just as high without actions
padding-bottom: calc(#{awsui.$space-scaled-xs} + #{awsui.$space-scaled-xxxs});
}

&-no-actions.refresh {
&.root-variant-h2,
&.root-variant-h3 {
Expand Down Expand Up @@ -61,14 +66,15 @@
justify-content: space-between;
width: 100%;
flex-wrap: wrap;
column-gap: awsui.$space-xs;

&.no-wrap {
flex-wrap: nowrap;
}

&.refresh {
// Can't use justify-content: center because it won't align with configurable dashboard fixed handle icon
row-gap: awsui.$space-scaled-xxs;
row-gap: awsui.$space-static-xxs;
}

&-variant-h1 {
Expand Down Expand Up @@ -140,7 +146,6 @@
&-variant-h2:not(.refresh),
&-variant-h3:not(.refresh) {
padding-top: awsui.$space-scaled-xs;
padding-bottom: calc(#{awsui.$space-scaled-xxs} + #{awsui.$space-scaled-xxxs});
}
}

Expand Down

0 comments on commit 197a22b

Please sign in to comment.