aboutsummaryrefslogtreecommitdiff
path: root/src/App.scss
diff options
context:
space:
mode:
authorShpuld Shpuldson <shpuld@gmail.com>2017-04-14 16:11:09 +0300
committerShpuld Shpuldson <shpuld@gmail.com>2017-04-14 16:11:09 +0300
commitea184f33b02ce815779e9cb4b6a51796ff24ff16 (patch)
treeb75d11c3c8a0432b55d4afc47857a0645145a553 /src/App.scss
parentc708ebb5d2467d601d7cbcffa2459e745ef02d0a (diff)
parentdcced2d2e1471e802cc9c492eb940e25bda0f485 (diff)
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma-fe into feature/reply-navigation
Diffstat (limited to 'src/App.scss')
-rw-r--r--src/App.scss39
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;