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
77ec9dd1
Unverified
Commit
77ec9dd1
authored
Apr 20, 2024
by
Que Nguyen
Committed by
GitHub
Apr 20, 2024
Browse files
Fix hover and selected state issues for reason buttons in light theme.
parent
e0ebd7ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/lib/components/chat/Messages/RateComment.svelte
src/lib/components/chat/Messages/RateComment.svelte
+2
-2
No files found.
src/lib/components/chat/Messages/RateComment.svelte
View file @
77ec9dd1
...
@@ -81,9 +81,9 @@
...
@@ -81,9 +81,9 @@
<div class="flex flex-wrap gap-2 text-sm mt-2.5">
<div class="flex flex-wrap gap-2 text-sm mt-2.5">
{#each reasons as reason}
{#each reasons as reason}
<button
<button
class="px-3.5 py-1 border dark:border-gray-850 dark:hover:bg-gray-850 {selectedReason ===
class="px-3.5 py-1 border dark:border-gray-850
hover:bg-gray-100
dark:hover:bg-gray-850 {selectedReason ===
reason
reason
? 'dark:bg-gray-800'
? '
bg-gray-200
dark:bg-gray-800'
: ''} transition rounded-lg"
: ''} transition rounded-lg"
on:click={() => {
on:click={() => {
selectedReason = reason;
selectedReason = reason;
...
...
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