improve styles

This commit is contained in:
josc146
2023-11-20 20:16:55 +08:00
parent bbcc6b07b6
commit cd7a9896dc
5 changed files with 14 additions and 9 deletions

View File

@@ -82,8 +82,10 @@ const CompositionPanel: FC = observer(() => {
};
useEffect(() => {
if (inputRef.current)
if (inputRef.current) {
inputRef.current.style.height = '100%';
inputRef.current.style.maxHeight = '100%';
}
scrollToBottom();
if (playerRef.current && visualizerRef.current) {