Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

feat: options page opens in tab with centered card layout

Luis Ortiza143a14d7dbf
diff --git a/src/entrypoints/options/index.html b/src/entrypoints/options/index.html
index bd0cb4c..5d24103 100644
--- a/src/entrypoints/options/index.html
+++ b/src/entrypoints/options/index.html
@@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="manifest.open_in_tab" content="true" />
<title>Mimik Settings</title>
</head>
<body>
diff --git a/src/ui/options/App.tsx b/src/ui/options/App.tsx
index 9d4da34..9c59dd4 100644
--- a/src/ui/options/App.tsx
+++ b/src/ui/options/App.tsx
@@ -2,8 +2,29 @@ import SettingsView from '@/ui/shared/SettingsView';
export default function App() {
return (
- <div className="max-w-md mx-auto my-8 bg-card rounded-xl border border-border overflow-hidden shadow-sm">
- <SettingsView />
+ <div
+ style={{
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'center',
+ minHeight: '100vh',
+ width: '100%',
+ background: 'radial-gradient(ellipse at center, #fffdf8 0%, #f5f0e8 60%, #ede5d8 100%)',
+ }}
+ >
+ <div
+ style={{
+ width: '100%',
+ maxWidth: '28rem',
+ background: 'white',
+ borderRadius: '16px',
+ border: '1px solid #E8E2DA',
+ boxShadow: '0 8px 40px rgba(69,26,3,0.08)',
+ overflow: 'hidden',
+ }}
+ >
+ <SettingsView />
+ </div>
</div>
);
}