pl-fe: alt text visibility fix
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -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
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user