fix(web): small issues everywhere (#7207)

* multiple fix

* fix: album re-render

* fix: revert re-render album

* fix: linter

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
martin 2024-02-21 14:29:22 +01:00 committed by GitHub
parent 855aa8e30a
commit 8f57bfb496
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 25 additions and 46 deletions

View file

@ -1,5 +1,4 @@
export const autoGrowHeight = (textarea: HTMLTextAreaElement, height = 'auto') => {
textarea.scrollHeight;
textarea.style.height = height;
textarea.style.height = `${textarea.scrollHeight}px`;
};