Update CSS selectors for REDUCE_ANIMATIONS

This commit is contained in:
redphx 2023-09-13 17:00:00 +07:00
parent 949a180047
commit 18eec8b8da

View File

@ -2289,7 +2289,13 @@ div[class*=NotFocusedDialog] {
// Reduce animations
if (PREFS.get(Preferences.REDUCE_ANIMATIONS)) {
css += 'div[class*=GameImageItem-module], div[class*=ScrollArrows-module] { transition: none !important; }';
css += `
div[class*=GameCard-module__gameTitleInnerWrapper],
div[class*=GameCard-module__card],
div[class*=ScrollArrows-module] {
transition: none !important;
}
`;
}
// Hide the top-left dots icon while playing