fix:공제 선택 필드 너비 및 패딩 조정
- 고정 너비 w-[100px] 적용 - 오른쪽 패딩 추가 (pr-8) - 드롭다운 화살표 공간 확보 - 좌우 패딩 증가 (px-4) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -648,7 +648,7 @@ className="p-1.5 text-purple-500 hover:bg-purple-100 rounded-lg transition-color
|
||||
<select
|
||||
value={log.deductionType || (log.merchantBizNum ? 'deductible' : 'non_deductible')}
|
||||
onChange={(e) => onFieldChange(index, 'deductionType', e.target.value)}
|
||||
className={`px-3 py-1.5 rounded text-sm font-bold border-0 cursor-pointer min-w-[140px] ${
|
||||
className={`px-4 py-1.5 pr-8 rounded text-sm font-bold border-0 cursor-pointer w-[100px] ${
|
||||
(log.deductionType || (log.merchantBizNum ? 'deductible' : 'non_deductible')) === 'deductible'
|
||||
? 'bg-green-100 text-green-700'
|
||||
: 'bg-red-500 text-white'
|
||||
|
||||
Reference in New Issue
Block a user