How to center top-aligned content in modal login-screen

I’ve implemented modal screen accordingly to docs https://framework7.io/docs/login-screen.html. It works fine but the content is aligned to the top of the screen. Could you tell me how to center login-content as top and bottom margins were equal