This commit is contained in:
iqudoo
2026-06-16 23:41:27 +08:00
parent 43900a8b52
commit 3a50e7e33b
7 changed files with 78 additions and 38 deletions

View File

@@ -511,10 +511,10 @@ export const PropSidebar: React.FC<PropSidebarProps> = ({
<p className="text-[10px] text-[#888]"></p>
) : (
<div className="space-y-3">
<div className="space-y-2 pt-2">
<div className="text-[10px] font-bold text-[#31a8ff]"></div>
<p className="text-[10px] text-[#666] leading-relaxed mb-3">
<p className="text-[10px] text-[#666] leading-relaxed">
</p>
{templateVariables.map((v) => {
const inUse = isTemplateVariableInUse(template, v);
@@ -2289,10 +2289,15 @@ export const PropSidebar: React.FC<PropSidebarProps> = ({
</div>
<div
className={`ps-layer-item-actions pointer-events-auto ${isNarrowScreen || variant === 'mobile' || isLocked
? 'opacity-100'
: 'opacity-0 group-hover:opacity-100 transition-opacity'
}`}
className={`ps-layer-item-actions pointer-events-auto ${
isNarrowScreen || variant === 'mobile' || isLocked
? ''
: 'ps-layer-item-actions--float'
} ${
isNarrowScreen || variant === 'mobile' || isLocked
? 'opacity-100'
: ''
}`}
>
{!isLocked && (
<>