sforkowany z mirror/soapbox
Remove 'file-icon' in empty link preview
rodzic
63201c4acf
commit
cfc03f9a3f
|
@ -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 (
|
||||
|
|
|
@ -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 {
|
||||
|
|
Ładowanie…
Reference in New Issue