From e0a8d61aa855e41daa9305c91a569629013bd678 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Tue, 27 Jun 2023 21:16:10 +1000 Subject: [PATCH] Bookshelf stylin --- app/templates/books/index.html.slim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/books/index.html.slim b/app/templates/books/index.html.slim index 855e56b..5cd8e7d 100644 --- a/app/templates/books/index.html.slim +++ b/app/templates/books/index.html.slim @@ -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| tr 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 td = 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| tr 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 td = 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| tr 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 td = book.name