Revert "fix(ui): pin DataTable pagination to bottom, table body scrolls independently"
This reverts commit b863370511.
This commit is contained in:
@@ -25,15 +25,7 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Make the DataTable wrapper fill height: scroll area grows, footer stays pinned */
|
||||
.tableSection > div {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.tableSection > div > div:first-child {
|
||||
.tableScroll {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
|
||||
@@ -267,6 +267,7 @@ export default function Dashboard() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className={styles.tableScroll}>
|
||||
<DataTable
|
||||
columns={columns}
|
||||
data={rows}
|
||||
@@ -290,6 +291,7 @@ export default function Dashboard() {
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user