Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
75491b2f
Commit
75491b2f
authored
May 18, 2024
by
Timothy J. Baek
Browse files
fix: rtl styling
parent
9e60d039
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
src/lib/components/chat/Messages/UserMessage.svelte
src/lib/components/chat/Messages/UserMessage.svelte
+3
-3
src/lib/components/layout/Navbar.svelte
src/lib/components/layout/Navbar.svelte
+3
-2
No files found.
src/lib/components/chat/Messages/UserMessage.svelte
View file @
75491b2f
...
...
@@ -54,7 +54,7 @@
};
</script>
<div class=" flex w-full user-message" dir=
"
{$settings.chatDirection}
"
>
<div class=" flex w-full user-message" dir={$settings.chatDirection}>
{#if !($settings?.chatBubble ?? true)}
<ProfileImage
src={message.user
...
...
@@ -239,7 +239,7 @@
>
{#if !($settings?.chatBubble ?? true)}
{#if siblings.length > 1}
<div class="flex self-center">
<div class="flex self-center"
dir="ltr"
>
<button
class="self-center p-1 hover:bg-black/5 dark:hover:bg-white/5 dark:hover:text-white hover:text-black rounded-md transition"
on:click={() => {
...
...
@@ -368,7 +368,7 @@
{#if $settings?.chatBubble ?? true}
{#if siblings.length > 1}
<div class="flex self-center">
<div class="flex self-center"
dir="ltr"
>
<button
class="self-center p-1 hover:bg-black/5 dark:hover:bg-white/5 dark:hover:text-white hover:text-black rounded-md transition"
on:click={() => {
...
...
src/lib/components/layout/Navbar.svelte
View file @
75491b2f
...
...
@@ -141,14 +141,15 @@
}}
>
<button
class=" flex rounded-xl p-1.5 w-full hover:bg-gray-100 dark:hover:bg-gray-850 transition"
class="
select-none
flex rounded-xl p-1.5 w-full hover:bg-gray-100 dark:hover:bg-gray-850 transition"
aria-label="User Menu"
>
<div class=" self-center">
<img
src={$user.profile_image_url}
class="
size-6 object-cover rounded-full"
class="size-6 object-cover rounded-full"
alt="User profile"
draggable="false"
/>
</div>
</button>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment