Fixed login pane & sign up pane resizing in browser.

Signed-off-by: cocolekat <cocolekat@gmail.com>