diff --git a/.gitignore b/.gitignore
index 9ba6898df4..8763be9ad1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,6 +27,7 @@ speed-measure-plugin.json
.vscode
# IDE - VSCode
+.vscode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
@@ -35,6 +36,7 @@ speed-measure-plugin.json
.history/*
# misc
+.angular
/.angular/cache
/.sass-cache
/connect.lock
diff --git a/projects/app/src/app/app.module.ts b/projects/app/src/app/app.module.ts
index 6123cf53d9..c4d03b9a2c 100644
--- a/projects/app/src/app/app.module.ts
+++ b/projects/app/src/app/app.module.ts
@@ -5,7 +5,6 @@ import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { PoModule } from '@po-ui/ng-components';
-
import { AppComponent } from './app.component';
@NgModule({
diff --git a/projects/portal/src/app/app.component.ts b/projects/portal/src/app/app.component.ts
index 5736160fb8..ea41214cd8 100644
--- a/projects/portal/src/app/app.component.ts
+++ b/projects/portal/src/app/app.component.ts
@@ -30,14 +30,13 @@ export class AppComponent implements OnInit, OnDestroy {
private poTheme: PoThemeService,
public router: Router
) {
- const _poTheme = this.poTheme.persistThemeActive();
+ const _poTheme = this.poTheme.applyTheme();
if (!_poTheme) {
this.theme = poThemeConstant.active;
+ this.poTheme.setTheme(poThemeConstant, this.theme);
} else {
- this.theme = _poTheme.active || 0;
+ this.theme = typeof _poTheme.active === 'object' ? _poTheme.active.type : _poTheme.active;
}
-
- this.poTheme.setTheme(poThemeConstant, this.theme);
}
async ngOnInit() {
diff --git a/projects/portal/src/app/theme-builder/theme-builder.component.css b/projects/portal/src/app/theme-builder/theme-builder.component.css
index 79c3e40964..781093c20b 100644
--- a/projects/portal/src/app/theme-builder/theme-builder.component.css
+++ b/projects/portal/src/app/theme-builder/theme-builder.component.css
@@ -238,10 +238,6 @@ p {
}
}
-.widget-items > .po-widget {
- height: 255px;
-}
-
.widget-color > .po-widget {
background-color: var(--color-neutral-light-10);
}
diff --git a/projects/portal/src/app/theme-builder/theme-builder.component.html b/projects/portal/src/app/theme-builder/theme-builder.component.html
index bdd8d58760..1052a2b46e 100644
--- a/projects/portal/src/app/theme-builder/theme-builder.component.html
+++ b/projects/portal/src/app/theme-builder/theme-builder.component.html
@@ -152,7 +152,7 @@