fix: Use line-height for file input vertical centering (refs #19)
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 2m41s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 37s
Deploy to Staging / Verify Staging (pull_request) Successful in 6s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 5s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 2m41s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 37s
Deploy to Staging / Verify Staging (pull_request) Successful in 6s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 5s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
Use leading-[44px] to match the h-11 height, which should vertically center the file input content. Removed padding that was conflicting. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
54
padding-issue.html
Normal file
54
padding-issue.html
Normal file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<title>MotoVaultPro</title>
|
||||
|
||||
<!-- Dark mode initialization - MUST run before any other scripts -->
|
||||
<!-- This prevents iOS 26 Safari from overriding our dark mode preference -->
|
||||
<script>
|
||||
(function() {
|
||||
try {
|
||||
const stored = localStorage.getItem('motovaultpro-mobile-settings');
|
||||
const settings = stored ? JSON.parse(stored) : {};
|
||||
|
||||
// Check user preference, fall back to system preference
|
||||
const prefersDark = settings.darkMode !== undefined
|
||||
? settings.darkMode
|
||||
: window.matchMedia('(prefers-color-scheme: dark)').matches;
|
||||
|
||||
if (prefersDark) {
|
||||
document.documentElement.classList.add('dark');
|
||||
} else {
|
||||
document.documentElement.classList.remove('dark');
|
||||
}
|
||||
} catch (e) {
|
||||
// Fallback to system preference on error
|
||||
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
||||
document.documentElement.classList.add('dark');
|
||||
}
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<!-- Runtime config MUST load synchronously before any module scripts -->
|
||||
<script src="/config.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-BBzsRBvQ.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/react-vendor-ByzCDbub.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/react-router-DaYFPv1Q.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/utils-CzZZcuDR.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/mui-core-CMlEYYIm.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/data-CpPzLLzI.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/animation-_z1WwDHu.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/auth-DXZD2WD1.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/mui-icons-C3PV0RzG.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/forms-CxneQeFQ.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-D1by4rQs.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user