From e8b6b51729e2855b5bfcac279de75c2c23acd6b4 Mon Sep 17 00:00:00 2001 From: Philippe Ndiaye Date: Thu, 23 Jun 2022 17:31:35 +0200 Subject: [PATCH] update small button size and deprecate the xs one --- less/base/_buttons.less | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/less/base/_buttons.less b/less/base/_buttons.less index ea00d9e..65082f8 100644 --- a/less/base/_buttons.less +++ b/less/base/_buttons.less @@ -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 {