fix(ui) Fix new icons issues (#12545)
This commit is contained in:
parent
b00a17c1c3
commit
a884a6b232
|
@ -143,7 +143,7 @@ const useStyles = makeStyles()((theme: Theme) => {
|
||||||
},
|
},
|
||||||
|
|
||||||
iconButton: {
|
iconButton: {
|
||||||
padding: '10px'
|
padding: theme.spacing(2)
|
||||||
},
|
},
|
||||||
|
|
||||||
textWithIcon: {
|
textWithIcon: {
|
||||||
|
@ -166,7 +166,7 @@ const useStyles = makeStyles()((theme: Theme) => {
|
||||||
...withPixelLineHeight(theme.typography.bodyShortBoldLarge),
|
...withPixelLineHeight(theme.typography.bodyShortBoldLarge),
|
||||||
|
|
||||||
'&.iconButton': {
|
'&.iconButton': {
|
||||||
padding: '14px'
|
padding: '12px'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import Tooltip from '@atlaskit/tooltip';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { IconWarning } from '../../../base/icons';
|
import { IconExclamationTriangle } from '../../../base/icons/svg';
|
||||||
import { Label } from '../../../base/label';
|
import { Label } from '../../../base/label';
|
||||||
import { COLORS } from '../../../base/label/constants';
|
import { COLORS } from '../../../base/label/constants';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
|
@ -26,7 +26,7 @@ class InsecureRoomNameLabel extends AbstractInsecureRoomNameLabel {
|
||||||
position = 'bottom'>
|
position = 'bottom'>
|
||||||
<Label
|
<Label
|
||||||
color = { COLORS.red }
|
color = { COLORS.red }
|
||||||
icon = { IconWarning } />
|
icon = { IconExclamationTriangle } />
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,10 +52,6 @@ const useStyles = makeStyles()(() => {
|
||||||
'&>div': {
|
'&>div': {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
overflow: 'hidden'
|
overflow: 'hidden'
|
||||||
},
|
|
||||||
|
|
||||||
'&:first-child': {
|
|
||||||
marginLeft: '6px'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -118,8 +118,8 @@ const styles = () => {
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
|
|
||||||
'& svg': {
|
'& svg': {
|
||||||
width: '20px',
|
width: '18px',
|
||||||
height: '20px'
|
height: '18px'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -120,8 +120,8 @@ const styles = () => {
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
|
|
||||||
'& svg': {
|
'& svg': {
|
||||||
width: '20px',
|
width: '18px',
|
||||||
height: '20px'
|
height: '18px'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue