浏览代码

changed to first and last child

Patrick O'Carroll 7 年之前
父节点
当前提交
e9790c9f1b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      public/sass/components/_buttons.scss

+ 2 - 2
public/sass/components/_buttons.scss

@@ -228,11 +228,11 @@ $btn-service-icon-width: 35px;
   color: $text-color-weak;
   box-shadow: $card-shadow;
 
-  &:nth-child(1) {
+  &:first-child {
     border-radius: 2px 0 0 2px;
     margin: 0;
   }
-  &:nth-child(2) {
+  &:last-child {
     border-radius: 0 2px 2px 0;
     margin-left: 0 !important;
   }