fix(ui) Fix new icons issues (#12545)

This commit is contained in:
Robert Pintilii 2022-11-11 09:58:55 +02:00 committed by GitHub
parent b00a17c1c3
commit a884a6b232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 12 deletions

View File

@ -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'
}
},

View File

@ -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>
);
}

View File

@ -52,10 +52,6 @@ const useStyles = makeStyles()(() => {
'&>div': {
display: 'flex',
overflow: 'hidden'
},
'&:first-child': {
marginLeft: '6px'
}
}
};

View File

@ -118,8 +118,8 @@ const styles = () => {
borderRadius: '4px',
'& svg': {
width: '20px',
height: '20px'
width: '18px',
height: '18px'
}
},

View File

@ -120,8 +120,8 @@ const styles = () => {
borderRadius: '4px',
'& svg': {
width: '20px',
height: '20px'
width: '18px',
height: '18px'
}
},