Browse Source

文章图片居中

natasha 10 tháng trước cách đây
mục cha
commit
b4a3eb0024

+ 1 - 0
src/views/bookShelf/articleDetail.vue

@@ -2286,6 +2286,7 @@ export default {
 .NNPE-ArticleView {
   figure {
     font-size: 0;
+    text-align: center;
     img {
       max-width: 100%;
     }

+ 1 - 0
src/views/bookShelf/components/PrintModel.vue

@@ -229,6 +229,7 @@
                   <figure
                     v-for="(itemI, indexI) in articleImg[index]"
                     :key="indexI"
+                    style="text-align: center"
                   >
                     <img
                       :src="itemI.src"