hashicorp / structure

Structure (aka "PDS") [deprecated]
https://hashicorp-structure.vercel.app
Mozilla Public License 2.0
24 stars 5 forks source link

remove extra bottom margin in Pds::Banner #67

Closed andaley closed 3 years ago

andaley commented 3 years ago

As pointed out by @joshuaogle, the pds::banner has slightly too much bottom margin when no banner footer is included.

A potential solution is:

.pds-banner__body > *:last-child {
    margin-bottom: 0;
}

https://github.com/hashicorp/cloud-ui/pull/762/#issuecomment-803055973

MooCohen commented 3 years ago

Closing this because the issue is with cloud-ui and the AlertBanner content, this component has consistent padding.

Screen Shot 2021-04-20 at 3 47 33 PM