Fix the light theme for Author Show LiveView.

dev
KKlochko 4 weeks ago
parent e9e49572d1
commit 2e023fa2f7

@ -27,7 +27,7 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.Show do
</:actions>
</.header>
<div class="flex flex-col items-start gap-6 max-w-6xl mx-auto p-4 bg-gray-900 rounded-lg transition-all duration-300 md:prose md:block">
<div class="flex flex-col items-start gap-6 max-w-6xl mx-auto p-4 rounded-lg transition-all duration-300 md:prose md:block">
<%= if @author.avatar_url != nil do %>
<img
class="w-36 h-36 mb-3 rounded-full shadow-lg mx-auto md:float-left md:mr-4"
@ -54,7 +54,7 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.Show do
<div class="flex-1 pt-2 lg:pt-0 min-h-36">
<h2 class="mb-2 font-semibold leading-none text-gray-900 dark:text-white">Description</h2>
<p class="text-gray-300 leading-relaxed">
<p class="text-zinc-800 dark:text-gray-400 leading-relaxed">
{@author.description}
</p>

Loading…
Cancel
Save