瀏覽代碼

button定位

xiejiacheng 5 年之前
父節點
當前提交
a752855c65
共有 1 個文件被更改,包括 2 次插入2 次删除
  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>