diff --git a/routes/_components/compose/ComposeBox.html b/routes/_components/compose/ComposeBox.html
index abb0342..86647b5 100644
--- a/routes/_components/compose/ComposeBox.html
+++ b/routes/_components/compose/ComposeBox.html
@@ -1,7 +1,10 @@
{{#if contentWarningShown}}
-
+
+
+
{{/if}}
@@ -30,6 +33,10 @@
max-width: calc(100vw - 40px);
}
+ .compose-content-warning-wrapper {
+ grid-area: cw;
+ }
+
@media (max-width: 767px) {
.compose-box {
padding: 10px 10px;
@@ -50,6 +57,7 @@
import { measureText } from '../../_utils/measureText'
import { CHAR_LIMIT, POST_PRIVACY_OPTIONS } from '../../_static/statuses'
import { store } from '../../_store/store'
+ import { slide } from 'svelte-transitions'
export default {
components: {
@@ -78,6 +86,9 @@
overLimit: (length) => length > CHAR_LIMIT,
contentWarningShown: (composeData) => composeData.contentWarningShown,
contentWarning: (composeData) => composeData.contentWarning || ''
+ },
+ transitions: {
+ slide
}
}
diff --git a/routes/_components/compose/ComposeContentWarning.html b/routes/_components/compose/ComposeContentWarning.html
index c9642cd..b552582 100644
--- a/routes/_components/compose/ComposeContentWarning.html
+++ b/routes/_components/compose/ComposeContentWarning.html
@@ -6,7 +6,6 @@
/>