fix:필드 에디터 오버레이 기본 정렬을 왼쪽으로 변경
- template-fields/fields FieldOverlay: justify-center → text_align 기반 정렬 - 기본값 justify-start(왼쪽), text_align에 따라 L/C/R 반영 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -263,7 +263,7 @@ className={`w-full relative rounded border-2 transition-all ${p === currentPage
|
||||
touchAction: 'none',
|
||||
boxShadow: resizeMode ? `0 0 0 2px ${color}, 0 2px 12px rgba(0,0,0,0.2)` : (selected ? `0 0 0 1px ${color}, 0 2px 8px rgba(0,0,0,0.15)` : 'none'),
|
||||
}}
|
||||
className="flex items-center justify-center select-none group transition-shadow">
|
||||
className={`flex items-center select-none group transition-shadow ${{'L':'justify-start','C':'justify-center','R':'justify-end'}[field.text_align] || 'justify-start'}`}>
|
||||
<div className="flex items-center gap-0.5 text-[10px] font-medium truncate px-1" style={{ color }}>
|
||||
<span>{typeInfo.icon}</span>
|
||||
<span className="truncate">{field.field_variable ? (field.field_value || `{{${field.field_variable}}}`) : (field.field_label || signerName)}</span>
|
||||
|
||||
@@ -237,7 +237,7 @@ className={`w-full relative rounded border-2 transition-all ${p === currentPage
|
||||
touchAction: 'none',
|
||||
boxShadow: resizeMode ? `0 0 0 2px ${color}, 0 2px 12px rgba(0,0,0,0.2)` : (selected ? `0 0 0 1px ${color}, 0 2px 8px rgba(0,0,0,0.15)` : 'none'),
|
||||
}}
|
||||
className="flex items-center justify-center select-none group transition-shadow">
|
||||
className={`flex items-center select-none group transition-shadow ${{'L':'justify-start','C':'justify-center','R':'justify-end'}[field.text_align] || 'justify-start'}`}>
|
||||
<div className="flex items-center gap-0.5 text-[10px] font-medium truncate px-1" style={{ color }}>
|
||||
<span>{typeInfo.icon}</span>
|
||||
<span className="truncate">{field.field_variable ? `{{${field.field_variable}}}` : (field.field_label || signerName)}</span>
|
||||
|
||||
Reference in New Issue
Block a user