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;
pull/66906/head
Ashley Harrison 2 years ago committed by GitHub
parent a8f91f115c
commit 09a0c1e1bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/grafana-ui/src/components/Forms/Checkbox.tsx

@ -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;
`,

Loading…
Cancel
Save