From 1b6028c71c6a16905dd7bf0dadbbc89a2a9475ad Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 8 Jul 2025 19:14:32 -0400 Subject: A few semantically-thin wrapper divs. This is an extension of the previous commit: we don't need these divs _at all_ to achieve the layout we want, and we aren't attaching behaviour or semantics to them, so, out they go. --- ui/lib/components/CreateConversationForm.svelte | 10 +++---- ui/lib/components/MessageInput.svelte | 36 ++++++++++++------------- ui/styles/sidebar.css | 3 --- ui/styles/textarea.css | 2 +- 4 files changed, 22 insertions(+), 29 deletions(-) (limited to 'ui') diff --git a/ui/lib/components/CreateConversationForm.svelte b/ui/lib/components/CreateConversationForm.svelte index d6056d3..812a5cf 100644 --- a/ui/lib/components/CreateConversationForm.svelte +++ b/ui/lib/components/CreateConversationForm.svelte @@ -16,9 +16,7 @@ } -
-
- - -
-
+
+ + +
diff --git a/ui/lib/components/MessageInput.svelte b/ui/lib/components/MessageInput.svelte index 7df4ab2..1a18f63 100644 --- a/ui/lib/components/MessageInput.svelte +++ b/ui/lib/components/MessageInput.svelte @@ -45,22 +45,20 @@ } -
-
- -
- -
-
+
+ +
+ +
diff --git a/ui/styles/sidebar.css b/ui/styles/sidebar.css index aa0d53b..a06c3e3 100644 --- a/ui/styles/sidebar.css +++ b/ui/styles/sidebar.css @@ -41,9 +41,6 @@ /* create conversation form */ .create-conversation { padding-left: 0.5rem; -} - -.create-conversation form { display: flex; flex-direction: row; justify-content: flex-start; diff --git a/ui/styles/textarea.css b/ui/styles/textarea.css index d315bcf..ef17a79 100644 --- a/ui/styles/textarea.css +++ b/ui/styles/textarea.css @@ -1,5 +1,5 @@ /* Message input */ -.create-message form { +.create-message { display: flex; flex-direction: row; justify-content: flex-start; -- cgit v1.2.3