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

View File

@ -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 {

View File

@ -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,11 +175,12 @@ export default Vue.extend({
> .tutorial {
margin-bottom: var(--margin);
}
}
.post-form {
> .post-form {
position: relative;
margin-bottom: var(--margin);
}
}
._kjvfvyph_ {
position: relative;

View File

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