Skip to content

Commit

Permalink
fix: ghost button normal and field padding
Browse files Browse the repository at this point in the history
  • Loading branch information
vpicone committed Jul 11, 2019
1 parent e3332fe commit 5eac1c9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/components/src/components/button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@
&.#{$prefix}--btn--sm {
padding: $button-padding-ghost-sm;
}

&.#{$prefix}--btn--field {
padding: $button-padding-ghost-field;
}
}

.#{$prefix}--btn--icon-only {
Expand Down
7 changes: 6 additions & 1 deletion packages/components/src/globals/scss/_theme-tokens.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,18 @@
/// @type Number
/// @access public
/// @group button
$button-padding-ghost: 11px 13px !default !global;
$button-padding-ghost: calc(0.875rem - 3px) 12px !default !global;

/// @type Number
/// @access public
/// @group button
$button-padding-ghost-sm: 0.375rem 1rem !default !global;

/// @type Number
/// @access public
/// @group button
$button-padding-ghost-field: calc(0.675rem - 3px) 12px !default !global;

/// @type Number
/// @access public
/// @group button
Expand Down

0 comments on commit 5eac1c9

Please sign in to comment.