mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-06-19 08:30:36 +00:00
Move form element styling to SCSS
Add time timetable on index page
This commit is contained in:
parent
3614a2553f
commit
a53879b86f
9 changed files with 178 additions and 74 deletions
6
front/src/lib/utils.js
Normal file
6
front/src/lib/utils.js
Normal 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";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue