Explorar o código

fix(): The Style of tableTitle slot (#1023)

Co-authored-by: 王英琦 <wangyingqi@91bihu.com>
Dack Wang %!s(int64=3) %!d(string=hai) anos
pai
achega
02e7756062
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/Table/src/components/TableHeader.vue

+ 1 - 1
src/components/Table/src/components/TableHeader.vue

@@ -3,7 +3,7 @@
     <div v-if="$slots.headerTop" style="margin: 5px">
       <slot name="headerTop"></slot>
     </div>
-    <div style="width: 100%; display: flex">
+    <div class="flex items-center">
       <slot name="tableTitle" v-if="$slots.tableTitle"></slot>
       <TableTitle
         :helpMessage="titleHelpMessage"