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:
Laura Benz 2023-04-13 14:21:36 +02:00 committed by GitHub
parent 7c7b222ae7
commit 725f29e6d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -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%;

View File

@ -108,6 +108,7 @@ const getStyles = (theme: GrafanaTheme2) => {
`,
commentButtonRow: css`
> * {
margin-top: ${theme.spacing(1)};
margin-right: ${theme.spacing(1)};
}
`,