mirror of
https://github.com/plankanban/planka.git
synced 2025-12-16 09:13:18 +03:00
Fix border in card modal
This commit is contained in:
@@ -83,9 +83,11 @@ const AddAttachmentZone = React.memo(({ children, onCreate }) => {
|
||||
return (
|
||||
<>
|
||||
{/* 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>}
|
||||
{children}
|
||||
{/* eslint-disable-next-line react/jsx-props-no-spreading */}
|
||||
<input {...getInputProps()} />
|
||||
</div>
|
||||
{modal && (
|
||||
<AddTextFileModal
|
||||
@@ -94,8 +96,6 @@ const AddAttachmentZone = React.memo(({ children, onCreate }) => {
|
||||
onClose={handleModalClose}
|
||||
/>
|
||||
)}
|
||||
{/* eslint-disable-next-line react/jsx-props-no-spreading */}
|
||||
<input {...getInputProps()} />
|
||||
</>
|
||||
);
|
||||
});
|
||||
|
||||
@@ -11,3 +11,7 @@
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -213,6 +213,6 @@
|
||||
padding: 8px 16px 0 8px !important;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
width: 768px !important;
|
||||
}
|
||||
/* .wrapper {
|
||||
min-width: 768px;
|
||||
} */
|
||||
|
||||
Reference in New Issue
Block a user