mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
🆙 Better view for avatar objects in the editor
This commit is contained in:
@@ -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
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user