fix(ui): fix upload books height and scroll issue (#1104)
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
.book-uploader {
|
.book-uploader {
|
||||||
width: 700px;
|
width: 700px;
|
||||||
max-width: 700px;
|
max-width: 700px;
|
||||||
|
max-height: 90vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
@@ -19,9 +20,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.upload-container {
|
.upload-container {
|
||||||
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
min-height: 0;
|
||||||
|
overflow-y: auto;
|
||||||
padding: 1.75rem;
|
padding: 1.75rem;
|
||||||
background: var(--card-background);
|
background: var(--card-background);
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-color);
|
||||||
@@ -262,8 +266,6 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
max-height: 400px;
|
|
||||||
overflow-y: auto;
|
|
||||||
padding-right: 0.25rem;
|
padding-right: 0.25rem;
|
||||||
|
|
||||||
.file-item-card {
|
.file-item-card {
|
||||||
|
|||||||
Reference in New Issue
Block a user