fix: add default size hint (min 140x50, auto) in custom style editor

This commit is contained in:
Pouzor
2026-04-24 11:03:20 +02:00
committed by Remy
parent 84235d81bf
commit 0a44b69c4e
@@ -142,7 +142,8 @@ function NodeEditor({ nodeType, style, onChange, onApplyToExisting }: NodeEditor
</div>
<div className="border-t border-[#30363d] pt-3">
<div className="text-xs text-[#8b949e] mb-2">Default size (0 = auto)</div>
<div className="text-xs text-[#8b949e] mb-1">Default size</div>
<div className="text-xs text-[#8b949e]/60 mb-2">0 = auto (min 140 × 50 px, grows with content)</div>
<div className="flex gap-3">
<div className="flex items-center gap-2">
<span className="text-xs text-[#8b949e]">W</span>