mirror of
https://github.com/ClaperCo/Claper.git
synced 2026-08-29 10:09:08 +02:00
Keep reaction control above composer
This commit is contained in:
@@ -18,8 +18,10 @@
|
|||||||
id="attendee-room"
|
id="attendee-room"
|
||||||
class={[
|
class={[
|
||||||
"relative mx-auto grid h-[100dvh] w-full max-w-lg overflow-hidden bg-black font-display shadow-2xl",
|
"relative mx-auto grid h-[100dvh] w-full max-w-lg overflow-hidden bg-black font-display shadow-2xl",
|
||||||
captions_visible? && "grid-rows-[auto_auto_auto_minmax(0,1fr)]",
|
focus_content? && captions_visible? &&
|
||||||
!captions_visible? && "grid-rows-[auto_auto_minmax(0,1fr)]"
|
"grid-rows-[auto_auto_auto_minmax(0,1fr)]",
|
||||||
|
focus_content? != captions_visible? && "grid-rows-[auto_auto_minmax(0,1fr)]",
|
||||||
|
!focus_content? && !captions_visible? && "grid-rows-[auto_minmax(0,1fr)]"
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ defmodule ClaperWeb.EventLive.ShowTest do
|
|||||||
document = Floki.parse_document!(html)
|
document = Floki.parse_document!(html)
|
||||||
|
|
||||||
assert Floki.find(document, "#focus-slot") == []
|
assert Floki.find(document, "#focus-slot") == []
|
||||||
|
assert "grid-rows-[auto_minmax(0,1fr)]" in classes(document, "#attendee-room")
|
||||||
refute html =~ "Waiting for content"
|
refute html =~ "Waiting for content"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user