diff --git a/assets/css/app.css b/assets/css/app.css
index 7e64a65..be0adb2 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -126,7 +126,7 @@
}
@media (max-height: 500px) {
- #focus-slot {
+ #focus-slot:not([data-interaction-mode="true"]) {
height: 7rem;
min-height: 7rem;
}
diff --git a/lib/claper_web/live/event_live/embed_component.ex b/lib/claper_web/live/event_live/embed_component.ex
index 53849bc..815cd40 100644
--- a/lib/claper_web/live/event_live/embed_component.ex
+++ b/lib/claper_web/live/event_live/embed_component.ex
@@ -3,9 +3,12 @@ defmodule ClaperWeb.EventLive.EmbedComponent do
@impl true
def render(assigns) do
+ assigns = assign_new(assigns, :focus_mode, fn -> false end)
+
~H"""
@@ -36,10 +39,15 @@ defmodule ClaperWeb.EventLive.EmbedComponent do
-
+
<%= if (length @poll.poll_opts) > 0 do %>
<%= for {opt, idx} <- Enum.with_index(@poll.poll_opts) do %>
<%= if (length @current_poll_vote) > 0 do %>
diff --git a/lib/claper_web/live/event_live/show.html.heex b/lib/claper_web/live/event_live/show.html.heex
index 299e37b..780f57e 100644
--- a/lib/claper_web/live/event_live/show.html.heex
+++ b/lib/claper_web/live/event_live/show.html.heex
@@ -8,7 +8,8 @@
<% interaction_mode? =
match?(%Claper.Polls.Poll{}, @current_interaction) ||
match?(%Claper.Forms.Form{}, @current_interaction) ||
- match?(%Claper.Quizzes.Quiz{}, @current_interaction) %>
+ match?(%Claper.Quizzes.Quiz{}, @current_interaction) ||
+ match?(%Claper.Embeds.Embed{attendee_visibility: true}, @current_interaction) %>
@@ -144,7 +146,7 @@
<%= case @current_interaction do %>
<% %Claper.Polls.Poll{} -> %>
-