Some tweaks

This commit is contained in:
syuilo 2020-02-19 03:16:10 +09:00
parent a340d4ed8e
commit 6ca30df8c4
4 changed files with 7 additions and 9 deletions

View file

@ -421,7 +421,7 @@ objectStorage: "オブジェクトストレージ"
useObjectStorage: "オブジェクトストレージを使用" useObjectStorage: "オブジェクトストレージを使用"
serverLogs: "サーバーログ" serverLogs: "サーバーログ"
deleteAll: "全て削除" deleteAll: "全て削除"
showFixedPostForm: "タイムライン上部に投稿画面を表示する" showFixedPostForm: "タイムライン上部に投稿フォームを表示する"
_ago: _ago:
unknown: "謎" unknown: "謎"

View file

@ -587,7 +587,6 @@ export default Vue.extend({
.gafaadew { .gafaadew {
background: var(--panel); background: var(--panel);
border-radius: var(--radius); border-radius: var(--radius);
box-shadow: 0 0 2px rgba(#000, 0.1);
> header { > header {
z-index: 1000; z-index: 1000;
@ -658,7 +657,6 @@ export default Vue.extend({
&.fixed { &.fixed {
max-width: unset; max-width: unset;
margin: 0 32px;
} }
> .preview { > .preview {

View file

@ -16,9 +16,7 @@
<x-tutorial class="tutorial" v-if="$store.state.settings.tutorial != -1"/> <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 _panel" fixed v-if="$store.state.device.showFixedPostForm"/>
<x-post-form class="post-form" fixed />
</div>
<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()"/> <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> </div>
</template> </template>
@ -177,10 +175,11 @@ export default Vue.extend({
> .tutorial { > .tutorial {
margin-bottom: var(--margin); margin-bottom: var(--margin);
} }
}
.post-form { > .post-form {
position: relative;
margin-bottom: var(--margin); margin-bottom: var(--margin);
}
} }
._kjvfvyph_ { ._kjvfvyph_ {

View file

@ -39,6 +39,7 @@ const defaultDeviceSettings = {
animation: true, animation: true,
animatedMfm: true, animatedMfm: true,
imageNewTab: false, imageNewTab: false,
showFixedPostForm: false,
userData: {}, userData: {},
}; };