Comment out unused CSS styles
Unused CSS styles related to hover, tap highlight, and button states in the App component have been commented out to clean up the file. This change helps to improve code readability and reduce clutter while retaining the styles for potential future use.
This commit is contained in:
@@ -264,13 +264,13 @@ export default function App() {
|
||||
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
touch-action: pan-y;
|
||||
// touch-action: pan-y;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
#root { background: transparent; }
|
||||
|
||||
/* ✅ HOVER/ACTIVE komplett entfernen – Row + alle Children */
|
||||
/*
|
||||
.hp-row:hover,
|
||||
.hp-row:active,
|
||||
.hp-row:focus,
|
||||
@@ -288,21 +288,17 @@ export default function App() {
|
||||
box-shadow: none !important;
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
/* ✅ Mobile Tap-Highlight killen (dieser "Flash" schaut oft wie Hover aus) */
|
||||
.hp-row, .hp-row * {
|
||||
-webkit-tap-highlight-color: transparent !important;
|
||||
-webkit-touch-callout: none;
|
||||
}
|
||||
|
||||
/* ✅ Button-Default Hover/Active Kill (dein tagBtn & helpBtn etc.) */
|
||||
button:hover,
|
||||
button:active,
|
||||
button:focus {
|
||||
filter: none !important;
|
||||
box-shadow: none !important;
|
||||
outline: none !important;
|
||||
}
|
||||
}*/
|
||||
`;
|
||||
document.head.appendChild(style);
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user