add focus/hover responses to modeling page cards

This commit is contained in:
Emi Matchu 2020-09-07 00:14:44 -07:00
parent dba8eed7e5
commit 0c614deb41

View file

@ -86,6 +86,7 @@ function ItemModelCard({ item, currentUserOwnsItem, ...props }) {
width="400px" width="400px"
border="1px" border="1px"
borderColor={borderColor} borderColor={borderColor}
className="item-model-card"
{...props} {...props}
> >
<ItemSummary <ItemSummary
@ -96,6 +97,7 @@ function ItemModelCard({ item, currentUserOwnsItem, ...props }) {
currentUserOwnsItem={currentUserOwnsItem} currentUserOwnsItem={currentUserOwnsItem}
/> />
} }
focusSelector=".item-model-card:hover &, .item-model-card:focus &"
/> />
</Box> </Box>
); );