fix a bug with VisuallyHidden radios

The VisuallyHidden radios were position:absolute, which was leaking outside the scroll container. These keeps them inside their component, which will scroll them properly!
This commit is contained in:
Matt Dunn-Rankin 2020-04-25 19:10:55 -07:00
parent 7ecbaf82c2
commit 40794d4e71

View file

@ -21,7 +21,7 @@ function ItemsPanel({ outfitState, loading, dispatchToOutfit }) {
const { zonesAndItems } = outfitState; const { zonesAndItems } = outfitState;
return ( return (
<Box color="green.800"> <Box color="green.800" position="relative">
<Box px="1"> <Box px="1">
<OutfitHeading <OutfitHeading
outfitState={outfitState} outfitState={outfitState}