From 7a50e56a6373c572cf5589d7dd427ae2b07edb36 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 2 Nov 2016 15:29:52 +0100 Subject: Fix an issue with textarea resizing --- tpl/default/editlink.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/default') diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index 19154d87..369b0a1d 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -80,7 +80,7 @@ } function textAreaAdjust(el) { - el.style.height = (el.scrollHeight > el.clientHeight) ? (el.scrollHeight)+"px" : (el.clientHeight-8)+"px"; + el.style.height = (el.scrollHeight > el.clientHeight) ? (el.scrollHeight)+"px" : (el.clientHeight-18)+"px"; } -- cgit v1.2.3