mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Buttons: Fixed vertical centering, now pixel perfect (#23140)
This commit is contained in:
parent
660a453f74
commit
7e094ac559
@ -94,6 +94,7 @@ export const getButtonStyles = stylesFactory(({ theme, size, variant }: StylePro
|
|||||||
font-size: ${fontSize};
|
font-size: ${fontSize};
|
||||||
padding: ${padding};
|
padding: ${padding};
|
||||||
height: ${height};
|
height: ${height};
|
||||||
|
line-height: ${height};
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: 1px solid ${borderColor};
|
border: 1px solid ${borderColor};
|
||||||
|
@ -219,4 +219,5 @@ $select-input-bg-disabled: $input-bg-disabled;
|
|||||||
|
|
||||||
.select-button {
|
.select-button {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user