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