-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
189 Alert Component #263
189 Alert Component #263
Conversation
// | ||
// Markup: ../templates/components/alert/alert.twig | ||
// | ||
// Style guide: Components.Alert | ||
// | ||
.su-alert { | ||
@include alerts; | ||
} | ||
@include margin(1.5em null null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only have one question - is there a reason to add a top margin for this component? We don't have margins for cards or hero block for example. Everything else looks great to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh good catch!
@josephgknox What gives?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just keeping you both on your toes. :)
Really, this shouldn't be there, as this type of spacing/margin should be applied more globally (theme level, project level, etc.) rather than on an individual component.
Thanks for catching this. I've pushed up a fix.
* master: 89 browsersync (#272) 189 Alert Component (#263) 216 Create site search component (#262) 266: Update scss file to reference logo.twig and update twig file to … (#267) 246 homepage (#258) reversed order of modular scale type mixin (#260) 122 hero (#259) # Conflicts: - all resolved using master # core/scss/homepage.md # kss/builder/decanter/index.twig # kss/builder/decanter/kss-assets/css/kss.css # kss/builder/decanter/scss/_home.scss # kss/builder/decanter/scss/kss.scss
READY FOR REVIEW
Summary
Needed By (Date)
Urgency
Steps to Test
Affected Projects or Products
Associated Issues and/or People
See Also