Replace Icons for IconButtons when used as buttons (#23554)

This commit is contained in:
Ivana Huckova
2020-04-14 15:15:36 +02:00
committed by GitHub
parent 2661054fe8
commit 0949d3292d
11 changed files with 24 additions and 29 deletions
@@ -43,6 +43,8 @@ export const IconButton = React.forwardRef<HTMLButtonElement, Props>(
}
);
IconButton.displayName = 'IconButton';
function getHoverColor(theme: GrafanaTheme, surface: SurfaceType): string {
switch (surface) {
case 'body':
@@ -149,7 +149,7 @@ export const getLogRowStyles = stylesFactory((theme: GrafanaTheme, logLevel?: Lo
`,
logDetailsTable: css`
label: logs-row-details-table;
line-height: 1.7;
line-height: 18px;
width: 100%;
td:last-child {
width: 100%;