浏览代码

Set menu to fixed width

sbkwgh 8 年之前
父节点
当前提交
2a17a59588
共有 1 个文件被更改,包括 2 次插入2 次删除
  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>