From 7216cdb5c80c02f8a1b2dc4e6a513979ece48382 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Wed, 21 Aug 2019 14:24:53 +0800 Subject: [PATCH] [O] Vertically center the login panel --- src/components/login/login.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/login/login.scss b/src/components/login/login.scss index 37d8bff..cd9ef79 100644 --- a/src/components/login/login.scss +++ b/src/components/login/login.scss @@ -45,6 +45,9 @@ border-radius: 10px; box-shadow: 0 0 4px black; + // Vertical center + transform: translateY(50%); + // Input bars .el-input {