Dark mode for cached bookmarks
This commit is contained in:
@@ -9,10 +9,10 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
|
||||
== bookmark.content
|
||||
|
||||
- unless bookmark.cached_content.nil?
|
||||
button @click="open = ! open" Toggle cached version
|
||||
button class="hover:text-gray-400" @click="open = ! open" Toggle cached version
|
||||
|
||||
span x-show="open"
|
||||
div class="rounded bg-blue-50 px-4 py-2"
|
||||
div class="mt-4 rounded bg-blue-50 dark:bg-blue-900 px-4 py-2"
|
||||
== bookmark.cached_content
|
||||
|
||||
div class="prose max-w-prose mx-auto text-gray-800 dark:text-gray-200 grid grid-cols-5 gap-2" hx-get="/bookmarks/metadata/#{bookmark.id}" hx-trigger="load"
|
||||
|
Reference in New Issue
Block a user