Skip to content

Commit

Permalink
add relative positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
djsisson committed Nov 7, 2024
1 parent b480590 commit cf8f3cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/genshin/components/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function Profile({
onTouchStart={(e) => handleTouchStart(e)}
key={charName}
quality={75}
className={`left-[calc(50%-63vh)] z-0 h-svh w-auto max-w-none overflow-clip object-cover ${currentCharacter == charName && "animate-slide-in"}`}
className={`relative left-[calc(50%-63vh)] z-0 h-svh w-auto max-w-none overflow-clip object-cover ${currentCharacter == charName && "animate-slide-in"}`}
style={{ inset: undefined, width: undefined, height: undefined }}
src={
portraits[
Expand Down

0 comments on commit cf8f3cf

Please sign in to comment.