Sticky table headers
This commit is contained in:
@@ -5,7 +5,7 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
|
||||
|
||||
div class="mb-12 prose dark:prose-invert max-w-prose mx-auto"
|
||||
table class="text-gray-800 dark:text-white table-auto"
|
||||
thead
|
||||
thead class="sticky top-0 bg-gray-100 dark:bg-purple-900"
|
||||
tr
|
||||
td
|
||||
td class="p-2" Title
|
||||
|
@@ -5,9 +5,9 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
|
||||
|
||||
div class="mb-12 max-w-prose mx-auto"
|
||||
table class="prose dark:prose-invert table-auto"
|
||||
thead
|
||||
thead class="sticky top-0 bg-black text-gray-100"
|
||||
tr
|
||||
td Title
|
||||
td class="pl-2" Title
|
||||
td Year
|
||||
td Rating
|
||||
- movies.each do |movie|
|
||||
|
Reference in New Issue
Block a user