diff --git a/frontend/src/components/VerificationBadge.jsx b/frontend/src/components/VerificationBadge.jsx index f74773f..3cf02be 100644 --- a/frontend/src/components/VerificationBadge.jsx +++ b/frontend/src/components/VerificationBadge.jsx @@ -62,11 +62,12 @@ export default function VerificationBadge({ status, vaccinated, recordCount = 0 role="status" aria-label={label} style={{ - display: 'inline-flex', alignItems: 'center', gap: '0.5rem', + display: 'flex', alignItems: 'center', gap: '0.5rem', padding: '0.375rem 0.875rem', minHeight: '2rem', borderRadius: '12px', backgroundColor: bg, color: '#ffffff', fontSize: '0.875rem', fontWeight: '600', transition: 'background-color 0.2s ease', cursor: 'default', + boxSizing: 'border-box', width: '100%', }} > {ICONS[key]} diff --git a/frontend/src/pages/VerifyPage.jsx b/frontend/src/pages/VerifyPage.jsx index 760b349..fdf60bb 100644 --- a/frontend/src/pages/VerifyPage.jsx +++ b/frontend/src/pages/VerifyPage.jsx @@ -8,9 +8,10 @@ import { useToast } from '../hooks/useToast'; import FeedbackButton from '../components/FeedbackButton'; const styles = { - page: { maxWidth: 600, margin: '2rem auto', padding: '0 1rem' }, - input: { padding: '0.6rem 0.75rem', background: 'var(--input-bg)', border: '1px solid var(--border)', borderRadius: 8, color: 'var(--text)', fontSize: '1rem', width: '100%', boxSizing: 'border-box', minHeight: '44px' }, - btn: { padding: '0.7rem 1.5rem', background: 'var(--btn-primary)', color: '#fff', border: 'none', borderRadius: 8, fontSize: '1rem', marginTop: '0.75rem', minHeight: '44px', cursor: 'pointer' }, + page: { maxWidth: 600, margin: '2rem auto', padding: '0 1rem', boxSizing: 'border-box' }, + form: { display: 'flex', flexDirection: 'column', gap: '0.75rem' }, + input: { padding: '0.6rem 0.75rem', background: 'var(--input-bg)', border: '1px solid var(--border)', borderRadius: 8, color: 'var(--text)', fontSize: '1rem', width: '100%', boxSizing: 'border-box', minWidth: 0, minHeight: '44px' }, + btn: { padding: '0.7rem 1.5rem', background: 'var(--btn-primary)', color: '#fff', border: 'none', borderRadius: 8, fontSize: '1rem', width: '100%', minHeight: '44px', cursor: 'pointer', touchAction: 'manipulation' }, }; export default function VerifyPage() { @@ -47,7 +48,7 @@ export default function VerifyPage() { return (
Error: {error}
} +Error: {error}
} + {result && ( + <> +
+ Wallet: {wallet}
+
- Wallet: {wallet}
-