[Fix]: Hovering bug of close button in dark theme. (#2034)
Browse files
src/lib/components/chat/UploadedFile.svelte
CHANGED
|
@@ -95,7 +95,7 @@
|
|
| 95 |
</p>
|
| 96 |
{/if}
|
| 97 |
<button
|
| 98 |
-
class="absolute right-4 top-4 text-xl text-gray-500 hover:text-gray-800"
|
| 99 |
onclick={() => (showModal = false)}
|
| 100 |
>
|
| 101 |
<CarbonClose class="text-xl" />
|
|
|
|
| 95 |
</p>
|
| 96 |
{/if}
|
| 97 |
<button
|
| 98 |
+
class="absolute right-4 top-4 text-xl text-gray-500 hover:text-gray-800 dark:text-gray-400 dark:hover:text-white"
|
| 99 |
onclick={() => (showModal = false)}
|
| 100 |
>
|
| 101 |
<CarbonClose class="text-xl" />
|