This commit is contained in:
Chneemann 2024-04-01 19:44:54 +02:00
parent d6ee0d44fb
commit 4e0e518817
2 changed files with 17 additions and 0 deletions

View file

@ -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;
} }

View file

@ -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')
);
}
} }