-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add padding to Alert softbuttons and adjust size #388
Conversation
src/css/components/_alert.scss
Outdated
@@ -102,6 +102,10 @@ | |||
padding: 15px; | |||
} | |||
|
|||
.alert-buttons .soft-button-image-static { | |||
padding: 5px; |
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 think the padding should also be added for SubtleAlert Softbuttons (.v-subtleAlert-button-1 .soft-button-image
and .v-subtleAlert-button-2 .soft-button-image
)
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.
Addressed in 6f869b9
src/css/components/_alert.scss
Outdated
@@ -102,6 +102,10 @@ | |||
padding: 15px; | |||
} | |||
|
|||
.alert-buttons .soft-button-image-static { |
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.
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.
Addressed in 6f869b9
src/css/components/_alert.scss
Outdated
@@ -158,4 +162,9 @@ | |||
@include display(flex); | |||
@include align-items(center); | |||
@include justify-content(center); | |||
} | |||
|
|||
.alert-button-4 .soft-button-image-static { |
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.
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.
Addressed in 6f869b9
Fixes #369, #343
Testing Plan
Core Tests
Test alerts with 1, 2, 3, or 4 softbuttons with various combinations of text and images
Core version / branch / commit hash / module tested against: 7.1.0
Proxy+Test App name / version / branch / commit hash / module tested against: RPC Builder JS
Summary
Adds padding to Alert softbutton images, also adjusts size of images when appropriate
Changelog
Bug Fixes
CLA