Commit aeebfc4d3d2e6215a29d406a3599f8a4be29ede3

Authored by 无木
1 parent c16be2c4

style(notice-list): fix `margin-bottom` value

去除通知列表组件标题和内容部分多余的margin-bottom
src/layouts/default/header/components/notify/NoticeList.vue
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 <div class="title"> 7 <div class="title">
8 <a-typography-paragraph 8 <a-typography-paragraph
9 @click="handleTitleClick(item)" 9 @click="handleTitleClick(item)"
10 - style="width: 100%" 10 + style="width: 100%; margin-bottom: 0 !important"
11 :style="{ cursor: isTitleClickable ? 'pointer' : '' }" 11 :style="{ cursor: isTitleClickable ? 'pointer' : '' }"
12 :delete="!!item.titleDelete" 12 :delete="!!item.titleDelete"
13 :ellipsis=" 13 :ellipsis="
@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 <div> 32 <div>
33 <div class="description" v-if="item.description"> 33 <div class="description" v-if="item.description">
34 <a-typography-paragraph 34 <a-typography-paragraph
35 - style="width: 100%" 35 + style="width: 100%; margin-bottom: 0 !important"
36 :ellipsis=" 36 :ellipsis="
37 $props.descRows > 0 37 $props.descRows > 0
38 ? { rows: $props.descRows, tooltip: item.description } 38 ? { rows: $props.descRows, tooltip: item.description }