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