-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Fix #2739 add variables size for layout hero #2740
Conversation
So this is a breaking change because you're removing the horizontal padding on the .hero-body
padding: 3rem 1.5rem I would actually created 4 variables: $hero-body-padding
$hero-body-padding-vertical-small
$hero-body-padding-vertical-medium
$hero-body-padding-vertical-large |
Thanks for your answer, I'll work on it. |
What do you think of this solution? |
I'd keep |
I relied on the file |
That would be cleaner.
Just remove the 1.5rem from medium and large as it is an unnecessarily overriding the same value from hero-body. But I am new to SASS so @jgthms will have to confirm. |
Actually you’re right. Doing like |
Awesome. |
This is an improvement|documentation fix.
Fixes issue #2739 adding three sass variables to hero layout
Proposed solution
Testing Done
It was tested locally and the layout hero is still working the same way as before.
Changelog updated?
No.