diff --git a/src/components/CharacterPreview.jsx b/src/components/CharacterPreview.jsx
index e161a9705..c5909b10c 100644
--- a/src/components/CharacterPreview.jsx
+++ b/src/components/CharacterPreview.jsx
@@ -563,90 +563,85 @@ export function CharacterPreview(props) {
marginRight: defaultGap,
outline: outline,
filter: filter,
+ position: 'relative',
}}
>
-
- {
- (character.portrait || customPortrait)
- ? (
-
- )
- : (
-
- )
- }
-
- {!isScorer && (
-
- )}
- {isScorer && (
-
+ )
+ : (
+ }
- onClick={() => {
- setOriginalCharacterModalInitialCharacter(character)
- setOriginalCharacterModalOpen(true)
+ position: 'absolute',
+ left: -charCenter.x * charCenter.z / 2 * tempInnerW / 1024 + parentW / 2,
+ top: -charCenter.y * charCenter.z / 2 * tempInnerW / 1024 + tempParentH / 2,
+ width: tempInnerW * charCenter.z,
}}
- type='primary'
- >
- {t('CharacterPreview.EditCharacter')/* Edit character */}
-
- )}
+ />
+ )
+ }
+
+ {!isScorer && (
+
+ )}
+ {isScorer && (
-
-
-
+ )}
+
+
+
-
)}
{