]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Fix an issue with textarea resizing
authorArthurHoaro <arthur@hoa.ro>
Wed, 2 Nov 2016 14:29:52 +0000 (15:29 +0100)
committerArthurHoaro <arthur@hoa.ro>
Sat, 5 Nov 2016 13:29:53 +0000 (14:29 +0100)
tpl/default/editlink.html

index 19154d87b0b8d99a5387705fcd567a75b5428527..369b0a1d218162649bede36ff644d1ca377b3b0b 100644 (file)
@@ -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";
   }
 </script>
 </body>