Skip to content

Commit

Permalink
fix(table): all data tables are less bad looking now. closes #66
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Sep 16, 2023
1 parent f2f875a commit f4c6c68
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 15 deletions.
36 changes: 36 additions & 0 deletions client/src/styles/datatable-overrides.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@

.ngx-datatable {

&, .datatable-body .datatable-body-row {
border: none !important;
}

.datatable-body, .datatable-header-cell, .datatable-body-cell {
background: url('../assets/bg/texture-bg.png'),
linear-gradient(
to bottom,
var(--background),
var(--background)
) !important;
}

.datatable-header {
height: 40px !important;

.datatable-header-cell {
color: #fff;
}
}

.icon-col {
.datatable-body-cell-label {
display: flex;
Expand All @@ -10,4 +32,18 @@
.ingredients-col {
overflow-y: hidden;
}


.text-wrap-column {
white-space: normal !important;
}

.icon-column .icon {
font-size: 24px;
}

.center-column {
align-items: center;
justify-content: center;
}
}
15 changes: 0 additions & 15 deletions client/src/styles/global-access.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,3 @@
margin-right: 5px;
}
}

app-inventory {
.text-wrap-column {
white-space: normal !important;
}

.icon-column .icon {
font-size: 24px;
}

.center-column {
align-items: center;
justify-content: center;
}
}

0 comments on commit f4c6c68

Please sign in to comment.