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: [PATCH] =?UTF-8?q?=E9=9D=9E=E3=83=AD=E3=82=B0=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E6=99=82=E3=81=AB=E6=A4=9C=E7=B4=A2=E6=AC=84=E3=81=8C=E3=82=BA?= =?UTF-8?q?=E3=83=AC=E3=81=A6=E3=81=84=E3=81=9F=E3=81=AE=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=20(#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 f405d17ac..74bf95b72 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; }