diff --git a/packages/client/src/components/poll-editor.vue b/packages/client/src/components/poll-editor.vue
index fad0cf1593..d8f898ee13 100644
--- a/packages/client/src/components/poll-editor.vue
+++ b/packages/client/src/components/poll-editor.vue
@@ -3,7 +3,7 @@
{{ $ts._poll.noOnlyOneChoice }}
-
+
{{ $ts.add }}
{{ $ts._poll.noMore }}
+ {{ $ts._poll.canMultipleVote }}
- {{ $ts._poll.canMultipleVote }}
{{ $ts._poll.expiration }}
@@ -31,7 +31,7 @@
{{ $ts._poll.deadlineTime }}
-
+
{{ $ts._poll.duration }}
@@ -47,8 +47,8 @@
-
@@ -216,7 +176,7 @@ export default defineComponent({
}
> .add {
- margin: 8px 0 0 0;
+ margin: 8px 0;
z-index: 1;
}
@@ -225,21 +185,27 @@ export default defineComponent({
> div {
margin: 0 8px;
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ gap: 12px;
&:last-child {
flex: 1 0 auto;
- > section {
- align-items: center;
- display: flex;
- margin: -32px 0 0;
+ > div {
+ flex-grow: 1;
+ }
- > &:first-child {
- margin-right: 16px;
- }
+ > section {
+ // MAGIC: Prevent div above from growing unless wrapped to its own line
+ flex-grow: 9999;
+ align-items: end;
+ display: flex;
+ gap: 4px;
> .input {
- flex: 1 0 auto;
+ flex: 1 1 auto;
}
}
}
diff --git a/packages/client/src/components/post-form.vue b/packages/client/src/components/post-form.vue
index 0dcec26932..ed78c5a3fb 100644
--- a/packages/client/src/components/post-form.vue
+++ b/packages/client/src/components/post-form.vue
@@ -43,7 +43,7 @@
-
+