style changes

This commit is contained in:
2024-03-26 17:48:37 +01:00
parent c2465d59e5
commit 5bc3d24405
4 changed files with 13 additions and 10 deletions

View File

@ -50,7 +50,7 @@ defmodule SomethingErlangWeb.ThreadLive do
~H"""
<aside class="userinfo bg-base-100">
<h3 class="mb-4"><%= @info.name %></h3>
<div class="title hidden sm:flex flex-col text-sm pr-4">
<div class="title hidden sm:flex flex-col text-sm pr-4 sm:hidden">
<%= raw(@info.title) %>
</div>
</aside>
@ -85,7 +85,7 @@ defmodule SomethingErlangWeb.ThreadLive do
defp label_button(%{label: "«", page: page} = assigns),
do: ~H"""
<Heroicons.chevron_double_left mini /><%= page %>
<Heroicons.chevron_double_left mini /><%= @page %>
"""
defp label_button(%{label: "", page: page} = assigns),
@ -127,8 +127,9 @@ defmodule SomethingErlangWeb.ThreadLive do
]
end
def mount(_params, _session, socket) do
def mount(params, session, socket) do
Grover.mount(socket.assigns.current_user)
session |> IO.inspect()
{:ok, socket}
end