Browse Source

Fix dashboard layout.

pull/751/head
Sebastian 4 years ago
parent
commit
a97c614608
  1. 9
      frontend/app/features/dashboard/pages/dashboard-page.component.scss
  2. 2
      frontend/app/features/dashboard/pages/dashboard-page.component.ts

9
frontend/app/features/dashboard/pages/dashboard-page.component.scss

@ -23,15 +23,20 @@ gridster-item {
gridster { gridster {
background: none; background: none;
} }
/* stylelint-enable */
gridster-item { gridster-item {
background: none; background: none;
border: 0; border: 0;
border-radius: 0; border-radius: 0;
overflow: visible; overflow: visible;
&.gridster-item-moving,
&.gridster-item-resizing {
box-shadow: none;
} }
} }
/* stylelint-enable */
}
.btn { .btn {
z-index: 1000; z-index: 1000;
@ -50,8 +55,6 @@ gridster-item {
.card { .card {
@include absolute(0, 0, 0, 0); @include absolute(0, 0, 0, 0);
margin-bottom: .5rem;
margin-right: .5rem;
&-image { &-image {
text-align: center; text-align: center;

2
frontend/app/features/dashboard/pages/dashboard-page.component.ts

@ -110,7 +110,7 @@ const DEFAULT_OPTIONS: GridsterConfig = {
fixedColWidth: 254, fixedColWidth: 254,
fixedRowHeight: 254, fixedRowHeight: 254,
gridType: GridType.Fixed, gridType: GridType.Fixed,
margin: 0, margin: 10,
maxItemCols: 3, maxItemCols: 3,
maxItemRows: 2, maxItemRows: 2,
outerMargin: true, outerMargin: true,

Loading…
Cancel
Save