File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ oui-textarea is a package which provides styles for the textarea component.
1212
1313## Usage
1414
15+ ### Native
16+
17+ ``` html:preview
18+ <textarea class="oui-textarea">Textarea text</textarea>
19+ ```
20+
1521### Basic
1622
1723``` html:preview
Original file line number Diff line number Diff line change 88 #oui > .animate ();
99 transition-property : border- color , box- shadow, background- color ;
1010
11- display : block ;
11+ display : flex ;
12+ flex-direction : column ;
1213 padding : 0 ;
1314 margin : @oui-textarea-margin ;
1415 border-radius : @oui-textarea-border-radius ;
1920 #oui > .animate ();
2021
2122 display : block ;
23+ flex-grow : 1 ;
2224 width : 100% ;
2325 resize : none ;
2426 outline : none ;
107109 }
108110
109111 .textarea-legacy-base () {
112+ width : 100% ;
110113 padding : @oui-textarea-field-padding ;
111114 font-size : @oui-textarea-font-size ;
112115 line-height : @oui-textarea-line-height ;
You can’t perform that action at this time.
0 commit comments