diff options
| author | ojacobson <ojacobson@noreply.codeberg.org> | 2025-07-09 23:35:40 +0200 |
|---|---|---|
| committer | ojacobson <ojacobson@noreply.codeberg.org> | 2025-07-09 23:35:40 +0200 |
| commit | 223b39a57ef6ca6b8288f5a8645183c41301f411 (patch) | |
| tree | b748e16e4741f20e04d26f71631bd633cf09f1d3 /ui/lib/components/MessageInput.svelte | |
| parent | 948ecc916050a68c2e2ae7f0ddbc56a90db4785f (diff) | |
| parent | 1b6028c71c6a16905dd7bf0dadbbc89a2a9475ad (diff) | |
Remove container divs for `MessageInput` and `CreateConversationForm`.
The styles for the `MessageInput` and `CreateConversationForm` components assumed that a container div would be present, and the components did not render as intended without that div. Therefore: the divs were "part of" the component in most of the ways that matter, not part of the context in which the component is used.
It turns out that those divs aren't necessary or interesting anyways - they were targets for layout, but the same layout can be achieved without them. This change removes the divs entirely.
Merges component-div-nesting into main.
Diffstat (limited to 'ui/lib/components/MessageInput.svelte')
| -rw-r--r-- | ui/lib/components/MessageInput.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/lib/components/MessageInput.svelte b/ui/lib/components/MessageInput.svelte index 77c39be..1a18f63 100644 --- a/ui/lib/components/MessageInput.svelte +++ b/ui/lib/components/MessageInput.svelte @@ -45,7 +45,7 @@ } </script> -<form {onsubmit}> +<form class="create-message" {onsubmit}> <textarea bind:value hidden {disabled}></textarea> <div role="textbox" |
