Browse Source

样式优化

任一存 3 years ago
parent
commit
275c7ba2be
2 changed files with 2 additions and 0 deletions
  1. 1 0
      src/assets/style/my-reset.css
  2. 1 0
      src/components/RelicDetail.vue

+ 1 - 0
src/assets/style/my-reset.css

@@ -31,6 +31,7 @@ button {
   background-color: initial;
   border: initial;
   outline: none;
+  white-space: pre;
 }
 
 img {

+ 1 - 0
src/components/RelicDetail.vue

@@ -235,6 +235,7 @@ export default {
       width: 100%;
       max-height: 40%;
       object-fit: contain;
+      border: 0.2rem solid #DABD8E;
     }
     > h1 {
       margin-top: 2.29rem;