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