fix(RemoveAuth): icon cursor & size (#1082)

* fix(RemoveAuth): icon cursor & size

* fix(RemoveAuth): icon alignment
This commit is contained in:
roiLeo 2022-06-10 20:51:59 +02:00 committed by GitHub
parent 4edd9cd34f
commit 2e70d36827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,23 +13,16 @@ function RemoveAuth (): React.ReactElement {
<FontAwesomeIcon
className='trashIcon'
icon={faTrash}
size='lg'
/>
);
}
export default styled(RemoveAuth)(({ theme }: ThemeProps) => `
label {
position: relative;
display: inline-block;
width: 48px;
height: 24px;
margin: 8px;
}
.trashIcon {
cursor: pointer;
color: ${theme.iconNeutralColor};
margin-left: 8px;
vertical-align: middle;
&.selected {
color: ${theme.primaryColor};