Make editor smaller when the chat is bigger