fix: set button font-size for modals

Atlaskit at times will have localized styling for font-size and
sometimes will not. The button component will inherit its
font-size whereas selectors have localized font-size of 14px. For
consistency, the cancel/submit buttons on the atlaskit modals
will also have 14px. The atlaskit story book examples also use
buttons with 14px font-size.
This commit is contained in:
Leonard Kim 2017-04-11 10:30:14 -07:00
parent 1ec06f4bf0
commit 07cd6a8b88
3 changed files with 10 additions and 1 deletions

View File

@ -79,6 +79,11 @@ $rateStarDefault: #ccc;
$rateStarActivity: #165ecc;
$rateStarSize: 34px;
/**
* Modals
*/
$modalButtonFontSize: 14px;
/**
* Notifications
*/

View File

@ -76,3 +76,7 @@
border-bottom: 1px solid $auiBorderColor;
}
}
.modal-dialog-footer {
font-size: $modalButtonFontSize;
}

View File

@ -93,7 +93,7 @@ class Dialog extends AbstractDialog {
*/
_renderFooter() {
return (
<footer>
<footer className = 'modal-dialog-footer'>
<AKButtonGroup>
{ this._renderCancelButton() }
{ this._renderOKButton() }