Przeglądaj źródła

flex align single item using margin auto

Michael Wang 3 lat temu
rodzic
commit
04df1e3acb

+ 1 - 2
src/features/student/importInspect/MarkHeader.vue

@@ -44,9 +44,8 @@
       </span>
       </span>
     </div>
     </div>
     <ZoomPaper v-if="isScanImage()" :store="store" />
     <ZoomPaper v-if="isScanImage()" :store="store" />
-    <div class="tw-flex-grow"></div>
     <div
     <div
-      class="tw-flex tw-place-items-center tw-cursor-pointer"
+      class="tw-flex tw-place-items-center tw-cursor-pointer tw-ml-auto"
       @click="closeWindow"
       @click="closeWindow"
     >
     >
       <PoweroffOutlined class="icon-font icon-with-text" />关闭
       <PoweroffOutlined class="icon-font icon-with-text" />关闭