Better logic in placement of items

This commit is contained in:
Marcel Petráň 2019-04-19 19:33:28 +02:00
parent 00f083363a
commit 212da6427b
3 changed files with 101 additions and 43 deletions

4
js/auto_height.js Normal file
View file

@ -0,0 +1,4 @@
function auto_grow(element) {
element.style.height = "5px";
element.style.height = (element.scrollHeight)+"px";
}