refac: styling

This commit is contained in:
Timothy J. Baek
2024-09-18 01:35:22 +02:00
parent 3c03d5069d
commit 7e8cf5504a
3 changed files with 19 additions and 17 deletions
+4 -4
View File
@@ -424,8 +424,8 @@
<div class="px-3.5 mb-1 flex gap-0.5 flex-wrap">
<button
class="px-2.5 py-[1px] text-xs transition {selectedTagName === null
? 'bg-gray-900'
: ' '} rounded-md"
? 'bg-gray-100 dark:bg-gray-900'
: ' '} rounded-md font-medium"
on:click={async () => {
selectedTagName = null;
await enablePagination();
@@ -436,8 +436,8 @@
{#each $tags.filter((t) => t.name !== 'pinned') as tag}
<button
class="px-2.5 py-[1px] text-xs transition {selectedTagName === tag.name
? 'bg-gray-900'
: ''} rounded-md"
? 'bg-gray-100 dark:bg-gray-900'
: ''} rounded-md font-medium"
on:click={async () => {
selectedTagName = tag.name;
scrollPaginationEnabled.set(false);