nicolium: set preview card iframe width 100%

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-02-10 22:09:06 +01:00
parent 8cbef499d9
commit 7f75fdf92c
2 changed files with 5 additions and 1 deletions

View File

@ -191,7 +191,7 @@ const PreviewCard: React.FC<IPreviewCard> = ({
<div className='absolute inset-0 flex items-center justify-center'>
<div className='flex items-center justify-center rounded-full bg-gray-500/90 px-4 py-3 shadow-md dark:bg-gray-700/90'>
<HStack space={3} alignItems='center'>
<button onClick={handleEmbedClick} className='appearance-none text-gray-700 hover:text-gray-900 dark:text-gray-500 dark:hover:text-gray-100'>
<button onClick={handleEmbedClick} className='appearance-none text-gray-700 hover:text-gray-900 dark:text-gray-200 dark:hover:text-gray-100'>
<Icon
src={iconVariant}
className='size-6 text-inherit'

View File

@ -28,6 +28,10 @@
.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 no-underline overflow-hidden;
iframe {
width: 100% !important
}
}
a.status-card {