瀏覽代碼

add .cart_item:hover

visuddhinanda 2 年之前
父節點
當前提交
38058acca9
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      dashboard/src/components/template/SentEdit/style.css

+ 8 - 0
dashboard/src/components/template/SentEdit/style.css

@@ -4,3 +4,11 @@
 .sentence.ant-typography p {
   margin: 0;
 }
+
+.cart_delete {
+  visibility: hidden;
+}
+
+.cart_item:hover .cart_delete {
+  visibility: unset;
+}