🆙 Better view for avatar objects in the editor

This commit is contained in:
DuckieTM
2026-04-19 13:08:55 +02:00
parent b9fa764ac8
commit 815662c097
2 changed files with 6 additions and 6 deletions
@@ -84,7 +84,7 @@ export const AvatarEditorFigureSetItemView: FC<{
<img
src={ assetUrl }
alt=""
className="absolute inset-0 m-auto max-w-full max-h-full pointer-events-none image-rendering-pixelated"
className="max-w-full max-h-full pointer-events-none image-rendering-pixelated"
draggable={ false }
/> }
{ !partItem.isClear && isHC && <LayoutCurrencyIcon className="absolute inset-e-1 bottom-1" type="hc" /> }
+5 -5
View File
@@ -1819,23 +1819,23 @@ body {
}
.avatar-parts {
border: none !important;
border: 1px solid #c5c3c0 !important;
position: relative;
aspect-ratio: 1;
width: 100%;
max-width: 42px;
border-radius: 2rem !important;
border-radius: 0.3rem !important;
overflow: hidden !important;
background-color: transparent;
background-color: #e9e8e4;
&:hover {
box-shadow: 0 0 0 3px #dbdad5 !important;
box-shadow: inset 0 0 0 3px #dbdad5 !important;
background-color: #cecdc8 !important;
}
&:active,
&.part-selected {
box-shadow: 0 0 0 3px #c5c3c0 !important;
box-shadow: inset 0 0 0 3px #c5c3c0 !important;
background-color: #b1b1b1 !important;
}
}