Browse Source

Set menu to fixed width

sbkwgh 8 năm trước cách đây
mục cha
commit
2a17a59588
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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>