mirror of
https://github.com/ClaperCo/Claper.git
synced 2025-12-16 11:57:58 +01:00
fix: Scrollbar not showing in event manager when no presentation file (#162)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user