mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-11-13 03:31:02 +00:00
Fix visual bug with title_bar
This commit is contained in:
parent
6d39e774e6
commit
2f50ab7927
1 changed files with 6 additions and 4 deletions
|
@ -451,15 +451,17 @@ defmodule LiveBeatsWeb.LiveHelpers do
|
|||
|
||||
~H"""
|
||||
<!-- Page title & actions -->
|
||||
<div class="border-b border-gray-200 px-4 py-4 sm:flex sm:items-center sm:justify-between sm:px-6 lg:px-8 h-16">
|
||||
<div class="border-b border-gray-200 px-4 py-4 sm:flex sm:items-center sm:justify-between sm:px-6 lg:px-8 sm:h-16">
|
||||
<div class="flex-1 min-w-0">
|
||||
<h1 class="text-lg font-medium leading-6 text-gray-900 sm:truncate focus:outline-none">
|
||||
<%= render_slot(@inner_block) %>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="mt-4 flex sm:mt-0 sm:ml-4">
|
||||
<%= render_slot(@actions) %>
|
||||
</div>
|
||||
<%= if Enum.count(assigns.actions) > 0 do %>
|
||||
<div class="mt-4 flex sm:mt-0 sm:ml-4 space-x-4">
|
||||
<%= render_slot(@actions) %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
"""
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue