Move ag-grid header margin to specific components

This commit is contained in:
jeffvli 2023-01-07 23:37:33 -08:00
parent 0f66687843
commit 02ed9b7a5c
3 changed files with 9 additions and 2 deletions

View file

@ -39,6 +39,10 @@ const ContentContainer = styled.div`
.ag-theme-alpine-dark {
--ag-header-background-color: rgba(0, 0, 0, 0%) !important;
}
.ag-header {
margin-bottom: 0.5rem;
}
`;
interface AlbumDetailContentProps {

View file

@ -51,6 +51,10 @@ const ContentContainer = styled.div`
.ag-theme-alpine-dark {
--ag-header-background-color: rgba(0, 0, 0, 0%) !important;
}
.ag-header {
margin-bottom: 0.5rem;
}
`;
interface PlaylistDetailContentProps {

View file

@ -133,8 +133,7 @@
}
.ag-header {
border-bottom: 1px solid var(--table-border-color);
margin-bottom: 1rem;
border-bottom: 2px solid var(--table-border-color);
}
.ag-ltr .ag-header-cell-resize {