zuohuaijun преди 2 години
родител
ревизия
d6476ad3cb
променени са 2 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 1 0
      Web/src/views/home/widgets/components/commit.vue
  2. 5 6
      Web/src/views/home/widgets/index.vue

+ 1 - 0
Web/src/views/home/widgets/components/commit.vue

@@ -72,5 +72,6 @@ onMounted(() => {
 .commit {
 	max-height: 500px;
 	overflow: auto;
+	padding-bottom: 20px;
 }
 </style>

+ 5 - 6
Web/src/views/home/widgets/index.vue

@@ -1,6 +1,6 @@
 <template>
-	<div style="height: 100vh; display: flex; overflow: hidden">
-		<div class="noticebar">
+	<div style="height: 100vh; overflow: hidden">
+		<div class="noticebar" style="display: flex">
 			<NoticeBar />
 			<div class="editlayout">
 				<el-tooltip content="编辑/保存布局" placement="bottom">
@@ -498,12 +498,11 @@ const close = () => {
 	}
 }
 .noticebar {
-	margin-bottom: 10px;
-	margin-left: 5px;
+	margin: 5px;
 }
 .editlayout {
-	top: 15px;
-	right: 10px;
+	top: 17px;
+	right: 22px;
 	position: absolute;
 }
 </style>