Browse Source

Add a new modifier class for disabling resizability of a textarea (#1045)

Andrzej Kupczyk 8 năm trước cách đây
mục cha
commit
975766f17f
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      sass/elements/form.sass

+ 3 - 0
sass/elements/form.sass

@@ -98,6 +98,9 @@ $help-size: $size-small !default
     min-height: 120px
   &[rows]
     height: unset
+  // Modifiers
+  &.has-fixed-size
+    resize: none
 
 .checkbox,
 .radio