bugfixes
This commit is contained in:
parent
d6ee0d44fb
commit
4e0e518817
2 changed files with 17 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ app-header {
|
||||||
|
|
||||||
@media screen and (max-width: 910px) {
|
@media screen and (max-width: 910px) {
|
||||||
.main-content {
|
.main-content {
|
||||||
|
position: absolute;
|
||||||
|
top: 96px;
|
||||||
width: calc(100vw - 64px);
|
width: calc(100vw - 64px);
|
||||||
height: calc(100vh - 176px);
|
height: calc(100vh - 176px);
|
||||||
padding: 32px;
|
padding: 32px;
|
||||||
|
|
@ -53,6 +55,10 @@ app-header {
|
||||||
min-width: calc(100vw);
|
min-width: calc(100vw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
app-header {
|
||||||
|
position: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
app-sidebar {
|
app-sidebar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,4 +34,15 @@ export class AppComponent {
|
||||||
) {
|
) {
|
||||||
this.router.events.subscribe((event) => {});
|
this.router.events.subscribe((event) => {});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
this.getUserIdInLocalStorage();
|
||||||
|
}
|
||||||
|
|
||||||
|
getUserIdInLocalStorage() {
|
||||||
|
localStorage.setItem(
|
||||||
|
'currentUserId',
|
||||||
|
JSON.stringify('5EX7gnwPPGEDbN186Rdw')
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue