pl-fe: improve alt popover styles
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
@ -23,4 +23,4 @@
|
|||||||
</div>
|
</div>
|
||||||
<noscript>To use this website, please enable JavaScript.</noscript>
|
<noscript>To use this website, please enable JavaScript.</noscript>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -193,15 +193,16 @@ const Item: React.FC<IItem> = ({
|
|||||||
interaction='click'
|
interaction='click'
|
||||||
referenceElementClassName='cursor-pointer'
|
referenceElementClassName='cursor-pointer'
|
||||||
content={
|
content={
|
||||||
<Stack space={1} className='max-w-80'>
|
<Stack space={1} className='max-h-[32rem] max-w-96 overflow-auto p-4'>
|
||||||
<Text weight='semibold'>
|
<Text weight='semibold'>
|
||||||
<FormattedMessage id='media-gallery.description' defaultMessage='Image description' />
|
<FormattedMessage id='media-gallery.description' defaultMessage='Image description' />
|
||||||
</Text>
|
</Text>
|
||||||
<Text>
|
<Text className='whitespace-pre-wrap'>
|
||||||
{attachment.description}
|
{attachment.description}
|
||||||
</Text>
|
</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
}
|
}
|
||||||
|
isFlush
|
||||||
>
|
>
|
||||||
<AltIndicator className='absolute bottom-2 left-2 z-10 opacity-80 transition-opacity hover:opacity-100' />
|
<AltIndicator className='absolute bottom-2 left-2 z-10 opacity-80 transition-opacity hover:opacity-100' />
|
||||||
</Popover>
|
</Popover>
|
||||||
|
|||||||
Reference in New Issue
Block a user