mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Buttons: Center text in buttons (#23789)
* Buttons: Center buttons * Updated size of transformation button * removed snapshot
This commit is contained in:
@@ -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
|
||||
// -------------------------
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user