Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
update small button size and deprecate the xs one
Browse files Browse the repository at this point in the history
  • Loading branch information
phndiaye committed Jun 23, 2022
1 parent f68bcaa commit e8b6b51
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions less/base/_buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -353,15 +353,14 @@ as size modifiers.
// --------------------------------------------------

.upf-btn--small, .upf-btn--sm {
height: @input-size-sm;
height: 24px;

a& { line-height: 2rem; }
}

// Deprecated in favor of small.
.upf-btn--x-small, .upf-btn--xs {
height: @input-size-x-sm;
padding: 0 @spacing-xx-sm;
line-height: 2rem;
&:extend(.upf-btn--small);
}

.upf-btn--medium, .upf-btn--md {
Expand Down

0 comments on commit e8b6b51

Please sign in to comment.