Skip to content

Commit 2aedada

Browse files
committed
adjusted position for smaller screens
1 parent ae927cd commit 2aedada

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/features/subclass/components/SubclassSelector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ const SubclassIcon = styled('img')<{ isCenter: boolean; isSelected: boolean }>(
9292

9393
const HoverCard = styled(Box)(({ theme }) => ({
9494
position: 'absolute',
95-
top: '100%',
96-
left: '50%',
95+
top: '90%',
96+
left: '80%',
9797
transform: 'translateX(-50%) rotate(-45deg)',
9898
width: '250px',
9999
backgroundColor: 'rgba(0, 0, 0, 0.8)',

0 commit comments

Comments
 (0)