Browse Source

Changed font sizes in dashboard toolbar and default state id

pull/12004/head
mpetrov 2 years ago
parent
commit
470bdc8d9c
  1. 4
      ui-ngx/src/app/core/services/dashboard-utils.service.ts
  2. 1
      ui-ngx/src/app/modules/home/components/dashboard-page/layout/select-dashboard-breakpoint.component.scss
  3. 1
      ui-ngx/src/app/modules/home/components/dashboard-page/states/default-state-controller.component.scss

4
ui-ngx/src/app/core/services/dashboard-utils.service.ts

@ -95,10 +95,10 @@ export class DashboardUtilsService {
}
if (isUndefined(dashboard.configuration.states)) {
dashboard.configuration.states = {
default: this.createDefaultState(dashboard.title, true)
Default: this.createDefaultState(dashboard.title, true)
};
const mainLayout = dashboard.configuration.states.default.layouts.main;
const mainLayout = dashboard.configuration.states.Default.layouts.main;
for (const id of Object.keys(dashboard.configuration.widgets)) {
const widget = dashboard.configuration.widgets[id];
mainLayout.widgets[id] = {

1
ui-ngx/src/app/modules/home/components/dashboard-page/layout/select-dashboard-breakpoint.component.scss

@ -26,6 +26,7 @@
.mat-mdc-select.select-dashboard-breakpoint {
.mat-mdc-select-value {
max-width: 200px;
font-size: 14px;
}
.mat-mdc-select-arrow {
width: 24px;

1
ui-ngx/src/app/modules/home/components/dashboard-page/states/default-state-controller.component.scss

@ -22,6 +22,7 @@
.mat-mdc-select.default-state-controller {
.mat-mdc-select-value {
max-width: 200px;
font-size: 14px;
}
.mat-mdc-select-arrow {
width: 24px;

Loading…
Cancel
Save