summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfuyu <54523771+mfmfuyu@users.noreply.github.com>2020-02-09 03:42:18 +0900
committerGitHub <noreply@github.com>2020-02-09 03:42:18 +0900
commit851dececabc2e9c0b90a7eed2253f8a84a2d86ad (patch)
tree76d94b1aba62f4e7d80206e68abb89fe2bc79eb4 /src
parentUpdate avatars.vue (diff)
downloadsharkey-851dececabc2e9c0b90a7eed2253f8a84a2d86ad.tar.gz
sharkey-851dececabc2e9c0b90a7eed2253f8a84a2d86ad.tar.bz2
sharkey-851dececabc2e9c0b90a7eed2253f8a84a2d86ad.zip
非ログイン時に検索欄がズレていたのを修正 (#5883)
* 非ログイン時に検索欄がズレていたのを修正 * flexboxを用いてセンタリングを行うように変更
Diffstat (limited to 'src')
-rw-r--r--src/client/app.vue4
1 files changed, 3 insertions, 1 deletions
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;
}