From 851dececabc2e9c0b90a7eed2253f8a84a2d86ad Mon Sep 17 00:00:00 2001 From: fuyu <54523771+mfmfuyu@users.noreply.github.com> Date: Sun, 9 Feb 2020 03:42:18 +0900 Subject: 非ログイン時に検索欄がズレていたのを修正 (#5883) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 非ログイン時に検索欄がズレていたのを修正 * flexboxを用いてセンタリングを行うように変更 --- src/client/app.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/app.vue b/src/client/app.vue index f405d17acb..74bf95b72d 100644 --- a/src/client/app.vue +++ b/src/client/app.vue @@ -697,6 +697,8 @@ export default Vue.extend({ > .sub { $post-button-size: 42px; $post-button-margin: (($header-height - $post-button-size) / 2); + display: flex; + align-items: center; position: absolute; top: 0; right: 16px; @@ -736,7 +738,7 @@ export default Vue.extend({ > .post { width: $post-button-size; height: $post-button-size; - margin: $post-button-margin 0 $post-button-margin $post-button-margin; + margin-left: $post-button-margin; border-radius: 100%; font-size: 16px; } -- cgit v1.2.3-freya