Update the header style for mobile devices for Show LiveViews.

This commit is contained in:
2025-04-24 22:04:28 +03:00
parent 9205d91a0b
commit 7c77ff3b23
5 changed files with 5 additions and 5 deletions
@@ -6,7 +6,7 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.Show do
@impl true
def render(assigns) do
~H"""
<.header>
<.header class="flex-col lg:flex-row">
{@author.name}
<:actions>
@@ -7,7 +7,7 @@ defmodule DecentralisedBookIndexWeb.BookLive.Show do
@impl true
def render(assigns) do
~H"""
<.header>
<.header class="flex-col lg:flex-row">
{@book.title}
<:subtitle>
<.authors book={@book} />
@@ -4,7 +4,7 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.Show do
@impl true
def render(assigns) do
~H"""
<.header>
<.header class="flex-col lg:flex-row">
{@dbi_server.name}
<:actions>
@@ -4,9 +4,9 @@ defmodule DecentralisedBookIndexWeb.PublisherLive.Show do
@impl true
def render(assigns) do
~H"""
<.header>
Publisher {@publisher.id}
<:subtitle>This is a publisher record from your database.</:subtitle>
<.header class="flex-col lg:flex-row">
<:actions>
<.link patch={~p"/publishers/#{@publisher}/edit"} phx-click={JS.push_focus()}>
@@ -4,7 +4,7 @@ defmodule DecentralisedBookIndexWeb.UserLive.Show do
@impl true
def render(assigns) do
~H"""
<.header>
<.header class="flex-col lg:flex-row">
{@user.email}
<:actions>