Move form element styling to SCSS

Add time timetable on index page
This commit is contained in:
Michał Gdula 2024-04-26 15:30:01 +01:00
parent 3614a2553f
commit a53879b86f
9 changed files with 178 additions and 74 deletions

6
front/src/lib/utils.js Normal file
View file

@ -0,0 +1,6 @@
export function expandOnTyping(element) {
element.oninput = (event) => {
event.target.style.height = "";
event.target.style.height = (event.target.scrollHeight + 2) + "px";
}
}