prevent entries from having the hover background color when clicked on mobile

This commit is contained in:
Athou
2023-04-28 14:54:40 +02:00
parent d96f8da8fd
commit d9b899b53f

View File

@@ -47,10 +47,12 @@ const useStyles = createStyles((theme, props: FeedEntryProps & { viewMode?: View
marginTop: mobileMarginY, marginTop: mobileMarginY,
marginBottom: mobileMarginY, marginBottom: mobileMarginY,
}, },
"@media (hover: hover)": {
"&:hover": { "&:hover": {
backgroundColor: backgroundHoverColor, backgroundColor: backgroundHoverColor,
}, },
}, },
},
body: { body: {
maxWidth: Constants.layout.entryMaxWidth, maxWidth: Constants.layout.entryMaxWidth,
}, },