Просмотр исходного кода

Improve Button margins when in lists

Tatiana Inama 6 лет назад
Родитель
Сommit
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;
+  }
 }