Compose "Bericht" field: editor does not fill the field height (empty space under the toolbar) #210
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the new-message composer the "Bericht" field has a min-height (
--field-min-height: 9remonField.vue's.box), but the sharedMessageEditordoes not grow to fill it..boxis not a flex column, so the slack lands below the format/send toolbar as dead space instead of enlarging the typing area with the toolbar pinned to the bottom.Reported during composer review: "bij nieuw bericht staat er spacing onder de opmaak & verzend buttons".
Approach
Field.vue's.boxa flex column and let the slotted editor grow.MessageEditor.vue, let the typing surface (.editor/.ProseMirror) takeflex: 1so the toolbar sits at the bottom and the empty band becomes clickable typing area.Caution
MessageEditoris shared by the new-message composer ANDReplyComposer. The reply composer's editor sizes to content (min-height ~= natural height), so aflex: 1surface should be a no-op there - but this must be verified in BOTH composers before merging. That shared-component risk is why it was deferred rather than patched blind.Verify
Relates to #195.