refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2024-11-21 18:02:33 -08:00
parent 386c976e9a
commit 7b675a1488
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@
{#each _citations as citation, idx} {#each _citations as citation, idx}
<button <button
id={`source-${citation.source.name}`} id={`source-${citation.source.name}`}
class="no-toggle outline-none flex dark:text-gray-300 p-1 bg-gray-50 hover:bg-gray-100 dark:bg-gray-900 dark:hover:bg-gray-850 transition rounded-xl max-w-96" class="no-toggle outline-none flex dark:text-gray-300 p-1 bg-white hover:bg-gray-50 dark:bg-gray-900 dark:hover:bg-gray-850 transition rounded-xl max-w-96"
on:click={() => { on:click={() => {
showCitationModal = true; showCitationModal = true;
selectedCitation = citation; selectedCitation = citation;

View File

@ -14,7 +14,7 @@
</script> </script>
<button <button
class="text-xs font-medium px-1.5 py-0.5 dark:bg-white/5 dark:hover:bg-white/10 bg-black/5 hover:bg-black/10 transition rounded-lg" class="text-xs font-medium px-2 py-0.5 dark:bg-white/5 dark:text-white/50 dark:hover:text-white bg-gray-50 text-black/60 hover:text-black transition rounded-lg"
on:click={() => { on:click={() => {
onClick(id); onClick(id);
}} }}