Przeglądaj źródła

Set menu to fixed width

sbkwgh 8 lat temu
rodzic
commit
2a17a59588
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/components/routes/Admin.vue

+ 2 - 2
src/components/routes/Admin.vue

@@ -52,7 +52,7 @@
 	}
 
 	.admin_menu {
-		width: 15%;
+		width: 15rem;
 		height: 100%;
 		border-right: 0.125rem solid $color__gray--primary;
 
@@ -88,6 +88,6 @@
 		}
 	}
 	.admin_page {
-		width: 85%;
+		width: calc(100% - 15rem);
 	}
 </style>