A edit page gets really long with a couple of layout rows which has a textarea or two.
Sometimes you might need less lines than the default so it would be nice if this could be set somewhere.
Hi @vaktmester,
Thanks for taking the time to request a feature. I have added it to our report for Elliots attention. 🙂
Hi @vaktmester
Thanks again for the feature request. A new setting for Rows
has been added to the textarea field. Currently, this has been pushed to github and will be released soon.
Cheers
E
Thanks for including the feature in the latest update!
However it does not work properly for textareas with few lines.
I guess because of this CSS rule in input.css (line 174):
.acf_postbox .field textarea {
min-height: 150px;
}
I’ll second what vaktmester is saying – the CSS he notes prevents this great feature from working with only a few lines.
Thirded. As a temporary fix, you can use the following in functions.php:
add_filter('admin_head','textarea_temp_fix');
function textarea_temp_fix() {
echo '<style type="text/css">.acf_postbox .field textarea {min-height:0 !important;}</style>';
}
Agreed. Thanks for the fix though.
That temp fix isn’t working for me. Elliot, how can we fix this??