소스 검색

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

去除通知列表组件标题和内容部分多余的margin-bottom
无木 3 년 전
부모
커밋
aeebfc4d3d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/layouts/default/header/components/notify/NoticeList.vue

+ 2 - 2
src/layouts/default/header/components/notify/NoticeList.vue

@@ -7,7 +7,7 @@
             <div class="title">
               <a-typography-paragraph
                 @click="handleTitleClick(item)"
-                style="width: 100%"
+                style="width: 100%; margin-bottom: 0 !important"
                 :style="{ cursor: isTitleClickable ? 'pointer' : '' }"
                 :delete="!!item.titleDelete"
                 :ellipsis="
@@ -32,7 +32,7 @@
             <div>
               <div class="description" v-if="item.description">
                 <a-typography-paragraph
-                  style="width: 100%"
+                  style="width: 100%; margin-bottom: 0 !important"
                   :ellipsis="
                     $props.descRows > 0
                       ? { rows: $props.descRows, tooltip: item.description }