mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 13:19:44 +02:00
Fix border in card modal
This commit is contained in:
parent
67dd13a11c
commit
af4297ac62
3 changed files with 10 additions and 6 deletions
|
@ -83,9 +83,11 @@ const AddAttachmentZone = React.memo(({ children, onCreate }) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{/* eslint-disable-next-line react/jsx-props-no-spreading */}
|
{/* eslint-disable-next-line react/jsx-props-no-spreading */}
|
||||||
<div {...getRootProps()}>
|
<div {...getRootProps()} className={styles.wrapper}>
|
||||||
{isDragActive && <div className={styles.dropzone}>{t('common.dropFileToUpload')}</div>}
|
{isDragActive && <div className={styles.dropzone}>{t('common.dropFileToUpload')}</div>}
|
||||||
{children}
|
{children}
|
||||||
|
{/* eslint-disable-next-line react/jsx-props-no-spreading */}
|
||||||
|
<input {...getInputProps()} />
|
||||||
</div>
|
</div>
|
||||||
{modal && (
|
{modal && (
|
||||||
<AddTextFileModal
|
<AddTextFileModal
|
||||||
|
@ -94,8 +96,6 @@ const AddAttachmentZone = React.memo(({ children, onCreate }) => {
|
||||||
onClose={handleModalClose}
|
onClose={handleModalClose}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{/* eslint-disable-next-line react/jsx-props-no-spreading */}
|
|
||||||
<input {...getInputProps()} />
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
|
@ -11,3 +11,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wrapper {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
|
@ -213,6 +213,6 @@
|
||||||
padding: 8px 16px 0 8px !important;
|
padding: 8px 16px 0 8px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrapper {
|
/* .wrapper {
|
||||||
width: 768px !important;
|
min-width: 768px;
|
||||||
}
|
} */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue