fix:홈택스 저장버튼 인라인 스타일로 색상 적용

This commit is contained in:
김보곤
2026-02-03 17:29:02 +09:00
parent b617fbff19
commit f9065fae52

View File

@@ -820,17 +820,37 @@ className="w-4 h-4 text-[#0d6efd]"
<span className="text-sm text-[#495057]">바로빌 API</span>
<span className="text-xs text-[#6c757d]">(실시간)</span>
</label>
{/* 저장 버튼 - 주황색으로 눈에 띄게 */}
{/* 저장 버튼 - 인라인 스타일로 확실하게 주황색 적용 */}
<button
onClick={handleSync}
disabled={syncing}
className="px-4 py-1.5 text-sm bg-[#fd7e14] text-white rounded hover:bg-[#e96b0c] transition-colors font-medium disabled:opacity-50 flex items-center gap-2 shadow-sm"
style={{
backgroundColor: '#fd7e14',
color: '#ffffff',
padding: '6px 16px',
fontSize: '14px',
fontWeight: '600',
borderRadius: '6px',
border: 'none',
cursor: 'pointer',
display: 'flex',
alignItems: 'center',
gap: '8px',
boxShadow: '0 2px 4px rgba(253, 126, 20, 0.3)'
}}
title="바로빌에서 데이터를 가져와 로컬 DB에 저장합니다"
>
{syncing ? (
<div className="animate-spin rounded-full h-4 w-4 border-b-2 border-white"></div>
<div style={{
width: '16px',
height: '16px',
border: '2px solid transparent',
borderTopColor: '#ffffff',
borderRadius: '50%',
animation: 'spin 1s linear infinite'
}}></div>
) : (
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<svg style={{ width: '16px', height: '16px' }} fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M8 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-3m-1 4l-3 3m0 0l-3-3m3 3V4" />
</svg>
)}