소스 검색

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;
   }