Fix format

This commit is contained in:
Alex
2024-04-27 12:39:08 +02:00
parent b78e01a162
commit 103cb6fccb
3 changed files with 17 additions and 4 deletions

View File

@@ -2,7 +2,9 @@
### Fixes and improvements ### Fixes and improvements
- Fix responsive layout - Fix responsive layout on dashboard
- Fix presenter layout with embeds when messages are hidden
- Fix missing stream for form submits
## v2.0.0 ## v2.0.0

View File

@@ -317,7 +317,9 @@ defmodule Claper.Forms do
|> Repo.insert_or_update() |> Repo.insert_or_update()
|> case do |> case do
{:ok, r} -> {:ok, r} ->
r = Repo.preload(r, :form) # Preloading form in FormSubmit # Preloading form in FormSubmit
r = Repo.preload(r, :form)
case fs do case fs do
nil -> broadcast({:ok, r, event_uuid}, :form_submit_created) nil -> broadcast({:ok, r, event_uuid}, :form_submit_created)
_form_submit -> broadcast({:ok, r, event_uuid}, :form_submit_updated) _form_submit -> broadcast({:ok, r, event_uuid}, :form_submit_updated)

View File

@@ -21,8 +21,17 @@
> >
<span class="sr-only">Open user menu</span> <span class="sr-only">Open user menu</span>
<span class="hidden sm:block"><%= @user.email %></span> <span class="hidden sm:block"><%= @user.email %></span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="sm:hidden w-5 h-5"> <svg
<path fill-rule="evenodd" d="M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-5.5-2.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM10 12a5.99 5.99 0 0 0-4.793 2.39A6.483 6.483 0 0 0 10 16.5a6.483 6.483 0 0 0 4.793-2.11A5.99 5.99 0 0 0 10 12Z" clip-rule="evenodd" /> xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
class="sm:hidden w-5 h-5"
>
<path
fill-rule="evenodd"
d="M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-5.5-2.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM10 12a5.99 5.99 0 0 0-4.793 2.39A6.483 6.483 0 0 0 10 16.5a6.483 6.483 0 0 0 4.793-2.11A5.99 5.99 0 0 0 10 12Z"
clip-rule="evenodd"
/>
</svg> </svg>
</button> </button>
</div> </div>