Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Improve responsiveness

fzaninotto2b0f823987f3
diff --git a/index.html b/index.html
index e911340a..9f8405ed 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta
name="viewport"
- content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no"
+ content="minimum-scale=1, initial-scale=1, width=device-width"
/>
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="./manifest.json" />
@@ -18,6 +18,15 @@
font-family: sans-serif;
}
+ /* Prevent accidental double-tap zoom on interactive elements */
+ button,
+ input,
+ select,
+ textarea,
+ a {
+ touch-action: manipulation;
+ }
+
.loader-container {
display: flex;
align-items: center;
diff --git a/public/manifest.json b/public/manifest.json
index 080d6c77..03275bb5 100644
--- a/public/manifest.json
+++ b/public/manifest.json
@@ -1,6 +1,6 @@
{
- "short_name": "React App",
- "name": "Create React App Sample",
+ "short_name": "Atomic CRM",
+ "name": "Atomic CRM",
"icons": [
{
"src": "favicon.ico",
@@ -20,6 +20,7 @@
],
"start_url": ".",
"display": "standalone",
+ "orientation": "portrait",
"theme_color": "#000000",
"background_color": "#ffffff"
}