From 969f21511a83f60c8166a615a04107d17c476ba9 Mon Sep 17 00:00:00 2001 From: spinline Date: Sat, 31 Jan 2026 00:12:52 +0300 Subject: [PATCH] fix: Frontend reactivity and style updates --- frontend/input.css | 16 ++++++++++++++++ frontend/public/tailwind.css | 5 +++++ frontend/src/app.rs | 6 ++++-- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/frontend/input.css b/frontend/input.css index 38eac7e..5d64175 100644 --- a/frontend/input.css +++ b/frontend/input.css @@ -1,5 +1,21 @@ @import "tailwindcss"; +@layer base { + + html, + body, + button, + a, + [role="button"], + input, + label, + select, + summary, + textarea { + touch-action: manipulation; + } +} + @theme { --color-gray-900: #111827; --color-gray-800: #1f2937; diff --git a/frontend/public/tailwind.css b/frontend/public/tailwind.css index ce899bb..403df37 100644 --- a/frontend/public/tailwind.css +++ b/frontend/public/tailwind.css @@ -1308,6 +1308,11 @@ } } } +@layer base { + html, body, button, a, [role="button"], input, label, select, summary, textarea { + touch-action: manipulation; + } +} @property --tw-translate-x { syntax: "*"; inherits: false; diff --git a/frontend/src/app.rs b/frontend/src/app.rs index e1b1279..ada19a1 100644 --- a/frontend/src/app.rs +++ b/frontend/src/app.rs @@ -327,9 +327,11 @@ pub fn App() -> impl IntoView { // MOBILE SIDEBAR
-
+