mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 03:22:29 +08:00
Buttons: Center text in buttons (#23789)
* Buttons: Center buttons * Updated size of transformation button * removed snapshot
This commit is contained in:
@ -87,7 +87,9 @@ export const getButtonStyles = stylesFactory((props: StyleProps) => {
|
||||
font-family: ${theme.typography.fontFamily.sansSerif};
|
||||
font-size: ${fontSize};
|
||||
padding: ${padding};
|
||||
height: ${height};
|
||||
height: ${height}px;
|
||||
// Deduct border from line-height for perfect vertical centering on windows and linux
|
||||
line-height: ${height - 2}px;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
border: 1px solid ${borderColor};
|
||||
|
Reference in New Issue
Block a user