fix: Scrollbar not showing in event manager when no presentation file (#162)

This commit is contained in:
Aryel780
2025-07-16 20:43:00 +05:30
committed by GitHub
parent 983552772a
commit 9b4cda357b
3 changed files with 6 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ allow_unlink_external_provider =
logout_redirect_url = get_var_from_path_or_env(config_dir, "LOGOUT_REDIRECT_URL", nil)
languages =
languages =
get_var_from_path_or_env(config_dir, "LANGUAGES", "en,fr,es")
|> String.split(",")
|> Enum.map(&String.trim/1)

View File

@@ -758,7 +758,10 @@
<span>{gettext("Add interaction")}</span>
</button>
</div>
<div class="grid grid-cols-1 @sm:grid-cols-2 @lg:grid-cols-3 gap-4 p-4 overflow-y-auto">
<div
class="grid grid-cols-1 @sm:grid-cols-2 @lg:grid-cols-3 gap-4 p-4 overflow-y-auto"
style="max-height: calc(100vh - 80px);"
>
<%= for interaction <- @interactions do %>
<div class="bg-white rounded-lg p-3 shadow-base transition-all flex flex-col justify-between relative">
<div>

View File

@@ -262,7 +262,7 @@
{"Italiano", "it"},
{"Nederlands", "nl"}
]
|> Enum.filter(fn {_name, code} ->
|> Enum.filter(fn {_name, code} ->
code in Application.get_env(:claper, :languages, ["en", "fr", "es"])
end)
}