mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Design System: Set TextArea to display: block in order to remove spacing below (#66262)
refactor: set textarea to display: block and add margin
This commit is contained in:
parent
7c7b222ae7
commit
725f29e6d0
@ -24,6 +24,7 @@ const getTextAreaStyle = stylesFactory((theme: GrafanaTheme2, invalid = false) =
|
||||
sharedInputStyle(theme),
|
||||
getFocusStyle(theme),
|
||||
css`
|
||||
display: block;
|
||||
border-radius: ${theme.shape.borderRadius()};
|
||||
padding: ${theme.spacing.gridSize / 4}px ${theme.spacing.gridSize}px;
|
||||
width: 100%;
|
||||
|
@ -108,6 +108,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
`,
|
||||
commentButtonRow: css`
|
||||
> * {
|
||||
margin-top: ${theme.spacing(1)};
|
||||
margin-right: ${theme.spacing(1)};
|
||||
}
|
||||
`,
|
||||
|
Loading…
Reference in New Issue
Block a user