Browse Source

fix(Admin): sidebar didn't display right on mobile

Kristian Vos 2 years ago
parent
commit
8ab217bb2a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      frontend/src/pages/Admin/index.vue

+ 3 - 3
frontend/src/pages/Admin/index.vue

@@ -425,9 +425,7 @@ export default {
 				display: flex;
 				flex-direction: column;
 				max-height: 100vh;
-				overflow-y: auto;
-				width: 100%;
-				max-width: 200px;
+				width: 200px;
 				position: sticky;
 				top: 0;
 				bottom: 0;
@@ -436,6 +434,8 @@ export default {
 				box-shadow: @box-shadow;
 
 				.bottom {
+					overflow-y: auto;
+					height: calc(100% - 64px);
 					display: flex;
 					flex-direction: column;
 					flex: 1 0 auto;