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,14 +23,19 @@ gridster-item {
gridster {
background: none;
}
/* stylelint-enable */
gridster-item {
background: none;
border: 0;
border-radius: 0;
overflow: visible;
&.gridster-item-moving,
&.gridster-item-resizing {
box-shadow: none;
}
}
/* stylelint-enable */
}
.btn {
@ -50,8 +55,6 @@ gridster-item {
.card {
@include absolute(0, 0, 0, 0);
margin-bottom: .5rem;
margin-right: .5rem;
&-image {
text-align: center;

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

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

Loading…
Cancel
Save