style changes
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user