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

Commit e8b6b51

Browse files
committed
update small button size and deprecate the xs one
1 parent f68bcaa commit e8b6b51

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

less/base/_buttons.less

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -353,15 +353,14 @@ as size modifiers.
353353
// --------------------------------------------------
354354

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

358358
a& { line-height: 2rem; }
359359
}
360360

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

367366
.upf-btn--medium, .upf-btn--md {

0 commit comments

Comments
 (0)