From 6ca30df8c4a95c8471e58b7199f6af8c0ed51a18 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 19 Feb 2020 03:16:10 +0900 Subject: [PATCH] Some tweaks --- locales/ja-JP.yml | 2 +- src/client/components/post-form.vue | 2 -- src/client/pages/index.home.vue | 11 +++++------ src/client/store.ts | 1 + 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 38b2a344eb..a03f928e99 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -421,7 +421,7 @@ objectStorage: "オブジェクトストレージ" useObjectStorage: "オブジェクトストレージを使用" serverLogs: "サーバーログ" deleteAll: "全て削除" -showFixedPostForm: "タイムライン上部に投稿画面を表示する" +showFixedPostForm: "タイムライン上部に投稿フォームを表示する" _ago: unknown: "謎" diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue index e80da49950..2d35cfe167 100644 --- a/src/client/components/post-form.vue +++ b/src/client/components/post-form.vue @@ -587,7 +587,6 @@ export default Vue.extend({ .gafaadew { background: var(--panel); border-radius: var(--radius); - box-shadow: 0 0 2px rgba(#000, 0.1); > header { z-index: 1000; @@ -658,7 +657,6 @@ export default Vue.extend({ &.fixed { max-width: unset; - margin: 0 32px; } > .preview { diff --git a/src/client/pages/index.home.vue b/src/client/pages/index.home.vue index bc7b5f443a..136e40e55b 100644 --- a/src/client/pages/index.home.vue +++ b/src/client/pages/index.home.vue @@ -16,9 +16,7 @@ -
- -
+ @@ -177,10 +175,11 @@ export default Vue.extend({ > .tutorial { margin-bottom: var(--margin); } -} -.post-form { - margin-bottom: var(--margin); + > .post-form { + position: relative; + margin-bottom: var(--margin); + } } ._kjvfvyph_ { diff --git a/src/client/store.ts b/src/client/store.ts index 4ebaa9ba55..28c995132e 100644 --- a/src/client/store.ts +++ b/src/client/store.ts @@ -39,6 +39,7 @@ const defaultDeviceSettings = { animation: true, animatedMfm: true, imageNewTab: false, + showFixedPostForm: false, userData: {}, };