Fix cut off icon (#28442)

This commit is contained in:
Ivana Huckova 2020-10-21 21:39:24 +02:00 committed by GitHub
parent e471a491a2
commit d9d34ceedf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ class UnThemedLogRow extends PureComponent<Props, State> {
<td className={cx({ [style.logsRowLevel]: !hasError })}>
{hasError && (
<Tooltip content={`Error: ${errorMessage}`} placement="right" theme="error">
<Icon className={style.logIconError} name="exclamation-triangle" size="sm" />
<Icon className={style.logIconError} name="exclamation-triangle" size="xs" />
</Tooltip>
)}
</td>

View File

@ -114,12 +114,12 @@ export const getLogRowStyles = stylesFactory((theme: GrafanaTheme, logLevel?: Lo
top: 1px;
bottom: 1px;
width: 3px;
left: 4px;
background-color: ${logColor};
}
`,
logIconError: css`
color: ${theme.palette.red};
margin-left: -5px;
`,
logsRowToggleDetails: css`
label: logs-row-toggle-details__level;