Browse Source

flex align single item using margin auto

Michael Wang 3 years ago
parent
commit
04df1e3acb
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/features/student/importInspect/MarkHeader.vue

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

@@ -44,9 +44,8 @@
       </span>
     </div>
     <ZoomPaper v-if="isScanImage()" :store="store" />
-    <div class="tw-flex-grow"></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"
     >
       <PoweroffOutlined class="icon-font icon-with-text" />关闭