Skip to content
Merged
Prev Previous commit
Next Next commit
Add padding-top to the modal content
  • Loading branch information
t-hamano committed Jun 24, 2023
commit 9e54d0a4c3d488e6b017bdc0e237207253733b6b
2 changes: 1 addition & 1 deletion packages/components/src/modal/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
.components-modal__content {
flex: 1;
margin-top: $header-height + $grid-unit-15;
padding: 0 $grid-unit-40 $grid-unit-40;
padding: $border-width-focus-fallback $grid-unit-40 $grid-unit-40;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be worth to add a short inline comment explaining the reason for the top padding

overflow: auto;

&.hide-header {
Expand Down