mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(ui/datatables): add styles for nested tables [EE-3687] (#7440)
* feat(ui/datatables): add styles for nested tables
This commit is contained in:
parent
92b7e64689
commit
c1a4856e9d
9 changed files with 39 additions and 49 deletions
8
app/react/components/datatables/InnerDatatable.css
Normal file
8
app/react/components/datatables/InnerDatatable.css
Normal file
|
@ -0,0 +1,8 @@
|
|||
.inner-datatable {
|
||||
@apply border border-solid rounded-md border-gray-5 th-dark:border-gray-9;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.inner-datatable table thead {
|
||||
border-top: none !important;
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
.inner-datatable thead {
|
||||
background-color: var(--bg-inner-datatable-thead) !important;
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
import { PropsWithChildren } from 'react';
|
||||
|
||||
import styles from './InnerDatatable.module.css';
|
||||
import './InnerDatatable.css';
|
||||
|
||||
export function InnerDatatable({ children }: PropsWithChildren<unknown>) {
|
||||
return <div className={styles.innerDatatable}>{children}</div>;
|
||||
return <div className="inner-datatable">{children}</div>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue