mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Checkbox: Fix extraneous right hand margin when no label is present (#68885)
* remove explicit grid columns, let it automatically work it out * restore position: relative;
This commit is contained in:
@@ -68,8 +68,6 @@ export const getCheckboxStyles = stylesFactory((theme: GrafanaTheme2) => {
|
||||
display: inline-grid;
|
||||
align-items: center;
|
||||
column-gap: ${theme.spacing(labelPadding)};
|
||||
grid-template-columns: auto 1fr;
|
||||
grid-template-rows: auto auto;
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
`,
|
||||
|
||||
Reference in New Issue
Block a user