Bookshelf stylin

This commit is contained in:
2023-06-27 21:16:10 +10:00
parent 7fc21caa11
commit e0a8d61aa8

View File

@@ -13,7 +13,7 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
- reading.each do |book| - reading.each do |book|
tr tr
td td
span class="rounded-md text-xs #{book.status_colour} p-1" div class="rounded-md text-xs #{book.status_colour} px-2 w-full text-center"
= book.book_status = book.book_status
td td
= book.name = book.name
@@ -22,7 +22,7 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
- to_read.each do |book| - to_read.each do |book|
tr tr
td td
span class="rounded-md text-xs #{book.status_colour} p-1" div class="rounded-md text-xs #{book.status_colour} px-2 w-full text-center"
= book.book_status = book.book_status
td td
= book.name = book.name
@@ -31,7 +31,7 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
- read.each do |book| - read.each do |book|
tr tr
td td
span class="rounded-md text-xs #{book.status_colour} p-1" div class="rounded-md text-xs #{book.status_colour} px-2 w-full text-center"
= book.book_status = book.book_status
td td
= book.name = book.name