Make sidepanel scroll independently from timeline, allows for seeing notifications and posting new statuses even when scrolled deep down.
This commit is contained in:
parent
446de1c623
commit
83205b8c0e
3 changed files with 38 additions and 4 deletions
28
src/App.scss
28
src/App.scss
|
@ -222,6 +222,12 @@ nav {
|
|||
flex-basis: 35%;
|
||||
}
|
||||
|
||||
.sidebar-flexer {
|
||||
flex: 1;
|
||||
flex-basis: 35%;
|
||||
width: 365px;
|
||||
}
|
||||
|
||||
.mobile-shown {
|
||||
display: none;
|
||||
}
|
||||
|
@ -238,6 +244,28 @@ nav {
|
|||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 960px) {
|
||||
.sidebar {
|
||||
overflow: hidden;
|
||||
max-height: 100vh;
|
||||
max-width: 345px;
|
||||
position: fixed;
|
||||
margin-top: -10px;
|
||||
|
||||
.sidebar-container {
|
||||
height: 96vh;
|
||||
padding-top: 10px;
|
||||
margin-right: -40px;
|
||||
padding-right: 25px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
.sidebar-flexer {
|
||||
max-height: 96vh;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 959px) {
|
||||
.mobile-hidden {
|
||||
display: none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue