瀏覽代碼

Improve Button margins when in lists

Tatiana Inama 6 年之前
父節點
當前提交
558b1bfb11
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      recipes/src/components/Button/styles.scss

+ 8 - 0
recipes/src/components/Button/styles.scss

@@ -116,4 +116,12 @@ button.cbk-btn {
       background-size: 45.25px 45.25px;
     }
   }
+
+  &:last-child {
+    margin-right: 0;
+  }
+
+  &:first-child {
+    margin-left: 0;
+  }
 }