summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-02-19 03:16:10 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-02-19 03:16:10 +0900
commit6ca30df8c4a95c8471e58b7199f6af8c0ed51a18 (patch)
tree9f10049c5d66ddc735be66a6c532857b45988606
parent固定投稿フォームを実装 (#5994) (diff)
downloadmisskey-6ca30df8c4a95c8471e58b7199f6af8c0ed51a18.tar.gz
misskey-6ca30df8c4a95c8471e58b7199f6af8c0ed51a18.tar.bz2
misskey-6ca30df8c4a95c8471e58b7199f6af8c0ed51a18.zip
Some tweaks
-rw-r--r--locales/ja-JP.yml2
-rw-r--r--src/client/components/post-form.vue2
-rw-r--r--src/client/pages/index.home.vue11
-rw-r--r--src/client/store.ts1
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 @@
<x-tutorial class="tutorial" v-if="$store.state.settings.tutorial != -1"/>
- <div style="position: relative" v-if="$store.state.device.showFixedPostForm">
- <x-post-form class="post-form" fixed />
- </div>
+ <x-post-form class="post-form _panel" fixed v-if="$store.state.device.showFixedPostForm"/>
<x-timeline ref="tl" :key="src === 'list' ? `list:${list.id}` : src === 'antenna' ? `antenna:${antenna.id}` : src" :src="src" :list="list" :antenna="antenna" @before="before()" @after="after()"/>
</div>
</template>
@@ -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: {},
};