1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 23:39: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:
Chaim Lev-Ari 2022-08-12 05:56:48 +03:00 committed by GitHub
parent 92b7e64689
commit c1a4856e9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 39 additions and 49 deletions

View 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;
}

View file

@ -1,3 +0,0 @@
.inner-datatable thead {
background-color: var(--bg-inner-datatable-thead) !important;
}

View file

@ -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>;
}