Fix Table Admin Preview Desktop
Seeder Menu Kesehatan
This commit is contained in:
@@ -123,7 +123,9 @@ function ListKategoriKegiatan({ search }: { search: string }) {
|
||||
// Desktop table
|
||||
const renderDesktopTable = () => (
|
||||
<Box>
|
||||
<Table highlightOnHover striped verticalSpacing="sm" miw={300}>
|
||||
<Table highlightOnHover
|
||||
layout="fixed" // 🔥 PENTING
|
||||
withColumnBorders={false} striped verticalSpacing="sm" miw={300}>
|
||||
<TableThead>
|
||||
<TableTr>
|
||||
<TableTh>
|
||||
@@ -208,7 +210,7 @@ function ListKategoriKegiatan({ search }: { search: string }) {
|
||||
</Button>
|
||||
</Group>
|
||||
|
||||
<Box visibleFrom="md">{renderDesktopTable()}</Box>
|
||||
<Box visibleFrom="md" style={{ overflowX: 'auto' }}>{renderDesktopTable()}</Box>
|
||||
<Box hiddenFrom="md">{renderMobileCards()}</Box>
|
||||
</Paper>
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ function ListDesaAntiKorupsi({ search }: { search: string }) {
|
||||
</Group>
|
||||
|
||||
{/* Desktop Table */}
|
||||
<Box visibleFrom="md">
|
||||
<Box visibleFrom="md" style={{ overflowX: 'auto' }}>
|
||||
<Table
|
||||
striped
|
||||
highlightOnHover
|
||||
|
||||
Reference in New Issue
Block a user