diff options
| author | Shpuld Shpuldson <shpuld@gmail.com> | 2017-04-13 16:17:57 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shpuld@gmail.com> | 2017-04-13 16:17:57 +0300 |
| commit | 83205b8c0e317d63c9cef86ede6a84a69021f4e2 (patch) | |
| tree | 8107ed5007f7d4514aee925e5d6b96beed6a3620 /src/App.scss | |
| parent | 446de1c623020cb0687bf2dd868b39be5267ef1d (diff) | |
Make sidepanel scroll independently from timeline, allows for seeing notifications and posting new statuses even when scrolled deep down.
Diffstat (limited to 'src/App.scss')
| -rw-r--r-- | src/App.scss | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/App.scss b/src/App.scss index 8a1942c6..6e584f3d 100644 --- a/src/App.scss +++ b/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; |
