From 3d632e8a378639b32b6b33963bb2f69a2ff68473 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20K=C3=B6pke?= Date: Mon, 14 Jul 2025 19:29:06 +0200 Subject: [PATCH] global key handling --- lib/alchemy_pub_web/components/layouts/root.html.heex | 2 +- lib/alchemy_pub_web/page_live.html.heex | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/alchemy_pub_web/components/layouts/root.html.heex b/lib/alchemy_pub_web/components/layouts/root.html.heex index a6f7dfb..5c04264 100644 --- a/lib/alchemy_pub_web/components/layouts/root.html.heex +++ b/lib/alchemy_pub_web/components/layouts/root.html.heex @@ -22,7 +22,7 @@ - + {@inner_content} diff --git a/lib/alchemy_pub_web/page_live.html.heex b/lib/alchemy_pub_web/page_live.html.heex index feb3069..7cf9440 100644 --- a/lib/alchemy_pub_web/page_live.html.heex +++ b/lib/alchemy_pub_web/page_live.html.heex @@ -141,6 +141,7 @@ id="deck" phx-update="stream" class="relative md:w-[34rem] lg:min-w-[42rem] print:min-w-[50rem] aspect-16/10" + phx-window-keyup="key" >