Card: fix empty card icon

This commit is contained in:
Alex Gleason 2021-11-04 14:57:52 -05:00
parent 0b21092281
commit 0e95a64027
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 8 additions and 3 deletions

View File

@ -220,7 +220,7 @@ export default class Card extends React.PureComponent {
} else {
embed = (
<div className='status-card__image status-card__image--empty'>
<Icon id='file-text' />
<Icon src={require('@tabler/icons/icons/file-text.svg')} />
</div>
);
}

View File

@ -613,13 +613,18 @@ a.status-card {
background: var(--brand-color--med);
position: relative;
& > .fa {
font-size: 21px;
& > .svg-icon {
width: 40px;
height: 40px;
position: absolute;
transform-origin: 50% 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
svg {
stroke-width: 1px;
}
}
&--empty {