1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-02 18:17:46 +01:00

set frontend layout body class

This commit is contained in:
Kyle Spearrin 2018-06-08 17:37:39 -04:00
parent 5098153fde
commit d4d01cc186
2 changed files with 15 additions and 1 deletions

View File

@ -1,9 +1,19 @@
import {
Component,
OnDestroy,
OnInit,
} from '@angular/core';
@Component({
selector: 'app-frontend-layout',
templateUrl: 'frontend-layout.component.html',
})
export class FrontendLayoutComponent { }
export class FrontendLayoutComponent implements OnInit, OnDestroy {
ngOnInit() {
document.body.classList.add('layout_frontend');
}
ngOnDestroy() {
document.body.classList.remove('layout_frontend');
}
}

View File

@ -62,6 +62,10 @@ html {
body {
min-width: 1010px;
&.layout_frontend {
background-color: #ecf0f5;
}
}
.page-header {