pl-fe: alt text visibility fix

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-01-23 14:24:51 +01:00
parent 86d21b1ea1
commit ea6b9321e6
2 changed files with 5 additions and 1 deletions

View File

@ -100,7 +100,7 @@ const Avatar = (props: IAvatar) => {
return (
<div
style={style}
className={clsx('relative rounded-lg bg-gray-200 leading-[0] dark:bg-gray-900', isCat && 'avatar__cat', className)}
className={clsx('relative rounded-lg bg-gray-200 dark:bg-gray-900', isCat && 'avatar__cat', className)}
>
<div className='absolute inset-0 z-[1] flex items-center justify-center rounded-[inherit] bg-gray-200 dark:bg-gray-900'>
<Icon

View File

@ -126,6 +126,10 @@
&-thumbnail {
@apply text-gray-400 cursor-zoom-in block no-underline leading-[0] relative z-[1] h-full w-full;
img::before {
line-height: normal;
}
video {
@apply w-full h-full object-cover;
}