Skip to content

Commit

Permalink
Merge pull request #207 from earthpulse/148-change-selected-tag-to-solid
Browse files Browse the repository at this point in the history
Added solid tags to models and datasets pages
  • Loading branch information
juansensio authored Jul 18, 2024
2 parents af0515a + da5434f commit 18e23b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui/src/components/QualitySelector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{#each qualities as quality}
<button
class="border b rounded px-1 {selected_qualities.includes(quality)
? 'text-green-200 border-green-200'
? 'text-slate-500 border-green-200 bg-green-100'
: 'border-gray-400 text-gray-400'}"
on:click={() => toggleQuality(quality)}>Q{quality}</button
>
Expand Down
4 changes: 2 additions & 2 deletions ui/src/components/Tags.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<div class="flex flex-wrap gap-1 content-start">
{#each tags as tag}
<button
class="badge badge-outline bg-white text-slate-400 text-xs {selected_tags.includes(
class="badge text-slate-400 text-xs {selected_tags.includes(
tag
) && 'badge-accent'}"
) ? 'badge badge-accent bg-green-100 text-slate-600 ' : 'badge-outline'}"
on:click={() => toggleTag(tag)}
>
{tag}
Expand Down

0 comments on commit 18e23b6

Please sign in to comment.