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

feat(gf-form): add support for small input fields

bergquist 9 лет назад
Родитель
Сommit
88e208bddf
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      public/sass/components/_gf-form.scss

+ 5 - 0
public/sass/components/_gf-form.scss

@@ -102,6 +102,11 @@ $gf-form-margin: 0.25rem;
     display: none;
   }
 
+  &.gf-input-small {
+    padding: $input-padding-y/3 $input-padding-x/3;
+    font-size: $font-size-xs;
+  }
+
   // Customize the `:focus` state to imitate native WebKit styles.
   @include form-control-focus();