nicolium: set preview card iframe width 100%
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -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'
|
||||
|
||||
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user