diff --git a/src/static/common.less b/src/static/common.less index edbdc39..ccca84f 100644 --- a/src/static/common.less +++ b/src/static/common.less @@ -11,6 +11,7 @@ html, body, #app, .layout { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); display: flex; align-items: center; + justify-content: space-between; position: relative; div.main-title { @@ -21,11 +22,7 @@ html, body, #app, .layout { line-height: 60px; } .nav-btns-right { - display: inline-block; - position: absolute; - right: 20px; - top: 50%; - transform: translateY(-50%); + display: flex; } }