Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/help-panel/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
@include styles.styles-reset;
word-wrap: break-word;
padding-block-start: awsui.$space-panel-header-vertical;
padding-block-end: 0;
// Reserve the bottom whitespace as padding on the panel root rather than as a
// margin on the last child. A descendant's block-end margin is not added to an
// ancestor scroll container's scrollable region, so when the panel is rendered
// inside a fixed-height, scrollable app-layout drawer the trailing margin gets
// clipped and the content sits flush against the bottom edge.
padding-block-end: awsui.$space-panel-content-bottom;

/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
hr {
Expand Down Expand Up @@ -81,11 +86,6 @@
margin-block-start: awsui.$space-xl;
color: awsui.$color-text-heading-default;
}
// sets padding at the bottom of the panel
& > :last-child {
margin-block-end: awsui.$space-panel-content-bottom;
}

// add basic font-sizes
p {
color: inherit;
Expand Down
Loading