input fix for chome
This commit is contained in:
@@ -51,6 +51,18 @@ a { color: inherit; text-decoration: none; }
|
||||
/* Focus */
|
||||
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
|
||||
|
||||
/* Auto-fill styling — prevents browser yellow/blue override from breaking the theme */
|
||||
input:-webkit-autofill {
|
||||
-webkit-box-shadow: 0 0 0 1000px var(--surface) inset !important;
|
||||
-webkit-text-fill-color: var(--text-primary) !important;
|
||||
transition: background-color 5000s ease-in-out 0s !important;
|
||||
}
|
||||
|
||||
/* Prevent iOS from zooming in on focused inputs (requires font-size >= 16px) */
|
||||
@media (max-width: 768px) {
|
||||
input:focus, textarea:focus, select:focus { font-size: 16px !important; }
|
||||
}
|
||||
|
||||
/* Utils */
|
||||
.flex { display: flex; }
|
||||
.flex-col { display: flex; flex-direction: column; }
|
||||
|
||||
Reference in New Issue
Block a user