Buttons: Center text in buttons (#23789)

* Buttons: Center buttons

* Updated size of transformation button

* removed snapshot
This commit is contained in:
Torkel Ödegaard
2020-04-22 18:47:41 +02:00
committed by GitHub
parent 78a6d39ebb
commit 45dfa20467
10 changed files with 25 additions and 875 deletions

View File

@@ -92,9 +92,9 @@ $grid-gutter-width: 30px !default;
// Component heights
// -------------------------
$height-sm: 24px;
$height-md: 32px;
$height-lg: 48px;
$height-sm: 24;
$height-md: 32;
$height-lg: 48;
// Typography
// -------------------------

View File

@@ -17,7 +17,7 @@
vertical-align: middle;
cursor: pointer;
border: none;
height: $height-md;
height: $height-md + px;
@include button-size($btn-padding-y, $space-md, $font-size-base, $border-radius-sm);
@@ -70,7 +70,7 @@
.btn-large {
@include button-size($btn-padding-y-lg, $space-lg, $font-size-lg, $border-radius-sm);
font-weight: normal;
height: $height-lg;
height: $height-lg + px;
.gicon {
//font-size: 31px;
@@ -81,13 +81,13 @@
.btn-small {
@include button-size($btn-padding-y-sm, $space-sm, $font-size-sm, $border-radius-sm);
height: $height-sm;
height: $height-sm + px;
}
// Deprecated, only used by old plugins
.btn-mini {
@include button-size($btn-padding-y-sm, $space-sm, $font-size-sm, $border-radius-sm);
height: $height-sm;
height: #{height-sm}px;
}
.btn-link {