Ver código fonte

button定位

xiejiacheng 5 anos atrás
pai
commit
a752855c65
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/index.vue

+ 2 - 2
src/views/index.vue

@@ -258,11 +258,11 @@ export default {
 }
 /deep/.floating .el-button {
   position: absolute;
-  top: -2px;
-  right: -2px;
+  right: 0px;
   padding: 3px 5px;
   background: #ccc;
   color: #000;
   border-radius: 0;
+  z-index: 1;
 }
 </style>