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

update small button size and deprecate the xs one #145

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
JulienVannier66 marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use spacing css-vars ?


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