diff --git a/src/expandable-section/styles.scss b/src/expandable-section/styles.scss index 05ab0272b1..40e46a8dd9 100644 --- a/src/expandable-section/styles.scss +++ b/src/expandable-section/styles.scss @@ -110,6 +110,7 @@ $icon-total-space-medium: calc(#{$icon-width-medium} + #{$icon-margin-left} + #{ padding-right: container.$header-padding-horizontal; &:not(.wrapper-expanded) { + // Equal top and bottom padding so standalone header has vertical symmetry. padding-bottom: awsui.$space-container-header-top; } &.header-deprecated { diff --git a/src/header/internal.tsx b/src/header/internal.tsx index 3509c9c9dd..21ea90159d 100644 --- a/src/header/internal.tsx +++ b/src/header/internal.tsx @@ -55,14 +55,7 @@ export default function InternalHeader({ ref={__internalRootRef} >
-
+