Archived
optimize: flexed height by table
This commit is contained in:
1 parent
a14d11f41c
commit
103bd12ee2
1 file changed
+23
-2
@@ -9,12 +9,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
padding: 10px 40px 10px 40px;
|
height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 0 40px 0 40px;
|
||||||
background-color: rgba(236, 236, 236, 0.39);
|
background-color: rgba(236, 236, 236, 0.39);
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-container {
|
.title-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
margin-top: 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
@@ -23,6 +27,14 @@ body {
|
|||||||
letter-spacing: 5px;
|
letter-spacing: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main-container {
|
||||||
|
min-height: 0;
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.tools-container {
|
.tools-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@@ -74,6 +86,13 @@ body {
|
|||||||
color: blue;
|
color: blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-container {
|
||||||
|
min-height: 0;
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.table-header {
|
.table-header {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -91,7 +110,9 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.table-outer-scrollable-container {
|
.table-outer-scrollable-container {
|
||||||
height: 700px;
|
min-height: 0;
|
||||||
|
flex: 1;
|
||||||
|
/*height: 700px;*/
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
scrollbar-color: var(--color-green) rgba(236, 236, 236, 0.89);
|
scrollbar-color: var(--color-green) rgba(236, 236, 236, 0.89);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user