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