Remove 'file-icon' in empty link preview

downgrade-react-17^2
Chewbacca 2022-12-27 10:06:28 -05:00
rodzic 63201c4acf
commit cfc03f9a3f
2 zmienionych plików z 2 dodań i 10 usunięć

Wyświetl plik

@ -241,11 +241,7 @@ const Card: React.FC<ICard> = ({
</div>
);
} else {
embed = (
<div className='status-card__image status-card__image--empty'>
<Icon src={require('@tabler/icons/file-text.svg')} />
</div>
);
embed = null;
}
return (

Wyświetl plik

@ -61,7 +61,7 @@
}
.status-card {
@apply flex text-sm border border-solid border-gray-200 dark:border-gray-800 rounded-lg text-gray-800 dark:text-gray-200 min-h-[150px] no-underline overflow-hidden;
@apply flex text-sm border border-solid border-gray-200 dark:border-gray-800 rounded-lg text-gray-800 dark:text-gray-200 no-underline overflow-hidden;
}
a.status-card {
@ -95,10 +95,6 @@ a.status-card {
stroke-width: 1px;
}
}
&--empty {
flex: 0 0 80px;
}
}
.status-card.horizontal {