diff --git a/src/components/image-editor/ImageCanvasWorldView.tsx b/src/components/image-editor/ImageCanvasWorldView.tsx index a2283a39d..8b6fcf200 100644 --- a/src/components/image-editor/ImageCanvasWorldView.tsx +++ b/src/components/image-editor/ImageCanvasWorldView.tsx @@ -293,8 +293,7 @@ const CANVAS_ASSET_KIND_TAG_OPTIONS: Array<{ { value: 'model3d', label: '3D模型', - badgeClassName: - '!bg-[rgba(30,64,175,0.94)] !shadow-[0_8px_18px_rgba(30,64,175,0.26)]', + badgeClassName: 'image-canvas-editor__kind-badge--model3d', }, { value: 'sound-effect', diff --git a/src/index.css b/src/index.css index a2c320e8c..77d1f8d0b 100644 --- a/src/index.css +++ b/src/index.css @@ -5963,6 +5963,11 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock { box-shadow: 0 8px 18px rgba(79, 70, 229, 0.24); } +.image-canvas-editor__kind-badge--model3d { + background: rgba(30, 64, 175, 0.94); + box-shadow: 0 8px 18px rgba(30, 64, 175, 0.26); +} + .image-canvas-editor__kind-menu-anchor { position: absolute; width: 0;