浏览代码

论坛顶部色块

canghailong 6 月之前
父节点
当前提交
173f1b12ef
共有 2 个文件被更改,包括 8 次插入7 次删除
  1. 8 7
      src/views/forum/index.vue
  2. 0 0
      stats.html

+ 8 - 7
src/views/forum/index.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<div class="forumTop"></div>
 	<div class="forumTop"></div>
-	<div style="display: flex; justify-content: center;" class="main-content-wrapper">
-		<a-card :bordered="false" style="width: 1200px;" class="formMount">
+	<div style="display: flex; justify-content: center" class="main-content-wrapper">
+		<a-card :bordered="false" style="width: 1200px" class="formMount">
 			<a-space>
 			<a-space>
 				<div style="display: flex">
 				<div style="display: flex">
 					<a-tooltip :getPopupContainer="(trigger) => trigger.parentElement">
 					<a-tooltip :getPopupContainer="(trigger) => trigger.parentElement">
@@ -377,11 +377,12 @@
 		-webkit-line-clamp: 1;
 		-webkit-line-clamp: 1;
 		overflow: hidden;
 		overflow: hidden;
 	}
 	}
-	:deep(.formMount .ant-card-body) {
-		padding-top: 5px!important;
-	}
-	.forumTop{
-		background-color: #1890FF;
+	.forumTop {
+		background-color: #1890ff;
 		height: 55px;
 		height: 55px;
 	}
 	}
+	.main-content-wrapper {
+		padding:0px;
+		height: calc(100% - 55px);
+	}
 </style>
 </style>

文件差异内容过多而无法显示
+ 0 - 0
stats.html


部分文件因为文件数量过多而无法显示