diff --git a/slices/main/templates/books/index.html.slim b/slices/main/templates/books/index.html.slim index f82ff50..b5aa95c 100644 --- a/slices/main/templates/books/index.html.slim +++ b/slices/main/templates/books/index.html.slim @@ -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 diff --git a/slices/main/templates/movies/index.html.slim b/slices/main/templates/movies/index.html.slim index 24d632b..226e1a5 100644 --- a/slices/main/templates/movies/index.html.slim +++ b/slices/main/templates/movies/index.html.slim @@ -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|