about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-28 21:57:03 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-28 21:57:03 +0100
commit9b2c7282511c56bb5d6f7add9e00ec9c6b385537 (patch)
tree4940ce9e5b63da132956e9c10d59b4c0610b6be6 /app
parent23b997ae55655ccae6a9a9e424a3596c9165a481 (diff)
Fix settings design on mobile
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/admin.scss24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss
index 8de42d680..d834096f4 100644
--- a/app/assets/stylesheets/admin.scss
+++ b/app/assets/stylesheets/admin.scss
@@ -108,6 +108,30 @@
   .simple_form {
     max-width: 400px;
   }
+
+  @media screen and (max-width: 600px) {
+    display: block;
+    overflow-y: auto;
+
+    .sidebar-wrapper, .content-wrapper {
+      flex: 0 0 auto;
+      height: auto;
+    }
+
+    .sidebar {
+      width: 100%;
+      padding: 10px 0;
+      height: auto;
+
+      .logo {
+        margin: 20px auto;
+      }
+    }
+
+    .content {
+      padding-top: 20px;
+    }
+  }
 }
 
 .filters {