Skip to content

Commit

Permalink
scrolling fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kakar21 committed May 10, 2024
1 parent ba15590 commit 3433a6d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
10 changes: 8 additions & 2 deletions src/app/main/header/header.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ h1 {

.mobile {
display: none;
padding: 2rem 0.75rem 1.5625rem 0.75rem;
padding: 0.75rem 0.75rem 0 0.75rem;
background-color: var(--white);
margin-top: 5rem;
width: calc(100% - 0.75rem - 0.75rem);

>input {
Expand All @@ -124,7 +125,7 @@ h1 {
>img {
position: absolute;
right: 2.25rem;
bottom: 2.0625rem;
bottom: 0.5rem;
width: 2rem;
height: 2rem;
}
Expand All @@ -143,6 +144,11 @@ h1 {
}

.header-content {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 2;
height: unset;
padding: 0.9375rem 1rem;
background-color: var(--bg-color);
Expand Down
22 changes: 11 additions & 11 deletions src/app/main/main.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,15 @@ main {
display: none;
}

app-conversations {
margin-top: 11.6625rem;
}

app-header {
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 3;
}
// app-conversations {
// margin-top: 11.6625rem;
// }

// app-header {
// position: fixed;
// top: 0;
// right: 0;
// left: 0;
// z-index: 3;
// }
}

0 comments on commit 3433a6d

Please sign in to comment.