From 402aa8234169317eae1888322acce635a70d0305 Mon Sep 17 00:00:00 2001 From: Arnold Daniels Date: Wed, 28 Mar 2012 01:42:38 +0200 Subject: [PATCH] Fixed height for uneditable-textarea with rows attribute --- less/forms.less | 88 ++++++++++++++++++++++++------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/less/forms.less b/less/forms.less index 47cc9e02..0051b6db 100644 --- a/less/forms.less +++ b/less/forms.less @@ -349,50 +349,50 @@ select:focus:required:invalid { .uneditable-textarea { height: 3 * @baseLineHeight; white-space: pre-wrap; - &[rows=1] { height: (1 + 1) * @baseLineHeight; } - &[rows=2] { height: (1 + 2) * @baseLineHeight; } - &[rows=3] { height: (1 + 3) * @baseLineHeight; } - &[rows=4] { height: (1 + 4) * @baseLineHeight; } - &[rows=5] { height: (1 + 5) * @baseLineHeight; } - &[rows=6] { height: (1 + 6) * @baseLineHeight; } - &[rows=7] { height: (1 + 7) * @baseLineHeight; } - &[rows=8] { height: (1 + 8) * @baseLineHeight; } - &[rows=9] { height: (1 + 9) * @baseLineHeight; } - &[rows=10] { height: (1 + 10) * @baseLineHeight; } - &[rows=11] { height: (1 + 11) * @baseLineHeight; } - &[rows=12] { height: (1 + 12) * @baseLineHeight; } - &[rows=13] { height: (1 + 13) * @baseLineHeight; } - &[rows=14] { height: (1 + 14) * @baseLineHeight; } - &[rows=15] { height: (1 + 15) * @baseLineHeight; } - &[rows=16] { height: (1 + 16) * @baseLineHeight; } - &[rows=17] { height: (1 + 17) * @baseLineHeight; } - &[rows=18] { height: (1 + 18) * @baseLineHeight; } - &[rows=19] { height: (1 + 19) * @baseLineHeight; } - &[rows=20] { height: (1 + 20) * @baseLineHeight; } - &[rows=21] { height: (1 + 21) * @baseLineHeight; } - &[rows=22] { height: (1 + 22) * @baseLineHeight; } - &[rows=23] { height: (1 + 23) * @baseLineHeight; } - &[rows=24] { height: (1 + 24) * @baseLineHeight; } - &[rows=25] { height: (1 + 25) * @baseLineHeight; } - &[rows=26] { height: (1 + 26) * @baseLineHeight; } - &[rows=27] { height: (1 + 27) * @baseLineHeight; } - &[rows=28] { height: (1 + 28) * @baseLineHeight; } - &[rows=29] { height: (1 + 29) * @baseLineHeight; } - &[rows=30] { height: (1 + 30) * @baseLineHeight; } - &[rows=35] { height: (1 + 35) * @baseLineHeight; } - &[rows=40] { height: (1 + 40) * @baseLineHeight; } - &[rows=45] { height: (1 + 45) * @baseLineHeight; } - &[rows=50] { height: (1 + 50) * @baseLineHeight; } - &[rows=55] { height: (1 + 55) * @baseLineHeight; } - &[rows=60] { height: (1 + 60) * @baseLineHeight; } - &[rows=65] { height: (1 + 65) * @baseLineHeight; } - &[rows=70] { height: (1 + 70) * @baseLineHeight; } - &[rows=75] { height: (1 + 75) * @baseLineHeight; } - &[rows=80] { height: (1 + 80) * @baseLineHeight; } - &[rows=85] { height: (1 + 85) * @baseLineHeight; } - &[rows=90] { height: (1 + 90) * @baseLineHeight; } - &[rows=95] { height: (1 + 95) * @baseLineHeight; } - &[rows=100] { height: (1 + 100) * @baseLineHeight; } + &[rows="1"] { height: (1 + 1) * @baseLineHeight; } + &[rows="2"] { height: (1 + 2) * @baseLineHeight; } + &[rows="3"] { height: (1 + 3) * @baseLineHeight; } + &[rows="4"] { height: (1 + 4) * @baseLineHeight; } + &[rows="5"] { height: (1 + 5) * @baseLineHeight; } + &[rows="6"] { height: (1 + 6) * @baseLineHeight; } + &[rows="7"] { height: (1 + 7) * @baseLineHeight; } + &[rows="8"] { height: (1 + 8) * @baseLineHeight; } + &[rows="9"] { height: (1 + 9) * @baseLineHeight; } + &[rows="10"] { height: (1 + 10) * @baseLineHeight; } + &[rows="11"] { height: (1 + 11) * @baseLineHeight; } + &[rows="12"] { height: (1 + 12) * @baseLineHeight; } + &[rows="13"] { height: (1 + 13) * @baseLineHeight; } + &[rows="14"] { height: (1 + 14) * @baseLineHeight; } + &[rows="15"] { height: (1 + 15) * @baseLineHeight; } + &[rows="16"] { height: (1 + 16) * @baseLineHeight; } + &[rows="17"] { height: (1 + 17) * @baseLineHeight; } + &[rows="18"] { height: (1 + 18) * @baseLineHeight; } + &[rows="19"] { height: (1 + 19) * @baseLineHeight; } + &[rows="20"] { height: (1 + 20) * @baseLineHeight; } + &[rows="21"] { height: (1 + 21) * @baseLineHeight; } + &[rows="22"] { height: (1 + 22) * @baseLineHeight; } + &[rows="23"] { height: (1 + 23) * @baseLineHeight; } + &[rows="24"] { height: (1 + 24) * @baseLineHeight; } + &[rows="25"] { height: (1 + 25) * @baseLineHeight; } + &[rows="26"] { height: (1 + 26) * @baseLineHeight; } + &[rows="27"] { height: (1 + 27) * @baseLineHeight; } + &[rows="28"] { height: (1 + 28) * @baseLineHeight; } + &[rows="29"] { height: (1 + 29) * @baseLineHeight; } + &[rows="30"] { height: (1 + 30) * @baseLineHeight; } + &[rows="35"] { height: (1 + 35) * @baseLineHeight; } + &[rows="40"] { height: (1 + 40) * @baseLineHeight; } + &[rows="45"] { height: (1 + 45) * @baseLineHeight; } + &[rows="50"] { height: (1 + 50) * @baseLineHeight; } + &[rows="55"] { height: (1 + 55) * @baseLineHeight; } + &[rows="60"] { height: (1 + 60) * @baseLineHeight; } + &[rows="65"] { height: (1 + 65) * @baseLineHeight; } + &[rows="70"] { height: (1 + 70) * @baseLineHeight; } + &[rows="75"] { height: (1 + 75) * @baseLineHeight; } + &[rows="80"] { height: (1 + 80) * @baseLineHeight; } + &[rows="85"] { height: (1 + 85) * @baseLineHeight; } + &[rows="90"] { height: (1 + 90) * @baseLineHeight; } + &[rows="95"] { height: (1 + 95) * @baseLineHeight; } + &[rows="100"] { height: (1 + 100) * @baseLineHeight; } } // Placeholder text gets special styles; can't be bundled together though for some reason