diff options
| author | Shpuld Shpuldson <shpuld@gmail.com> | 2017-04-21 19:15:54 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shpuld@gmail.com> | 2017-04-21 19:15:54 +0300 |
| commit | c2db700544a3aae58b27c52eaf6cf3b47a2bcff4 (patch) | |
| tree | 4af4d286740c072250b791aebfcadc0a3bb526ff /src/App.scss | |
| parent | 36655002d062183a577f5b8fd66628d56670ec1f (diff) | |
| parent | 1f8d30386388f8b91aa84fdbd7861e588aa0d935 (diff) | |
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma-fe into feature/hash-routed
Diffstat (limited to 'src/App.scss')
| -rw-r--r-- | src/App.scss | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/src/App.scss b/src/App.scss index 8a1942c6..0a7e1ce5 100644 --- a/src/App.scss +++ b/src/App.scss @@ -213,13 +213,20 @@ nav { } .main { - flex: 1; - flex-basis: 65%; + flex-basis: 60%; + flex-grow: 1; + flex-shrink: 1; } .sidebar { - flex: 1; - flex-basis: 35%; + flex: 0; + flex-basis: 35%; +} + +.sidebar-flexer { + flex: 1; + flex-basis: 345px; + width: 365px; } .mobile-shown { @@ -238,6 +245,30 @@ nav { } } +@media all and (min-width: 960px) { + .sidebar { + overflow: hidden; + max-height: 100vh; + width: 350px; + position: fixed; + margin-top: -10px; + + .sidebar-container { + height: 96vh; + width: 362px; + padding-top: 10px; + padding-right: 20px; + overflow-x: hidden; + overflow-y: scroll; + } + } + .sidebar-flexer { + max-height: 96vh; + flex-shrink: 0; + flex-grow: 0; + } +} + @media all and (max-width: 959px) { .mobile-hidden { display: none; |
