style: 보고서 모달 버튼을 공용 .btn 크기로 통일
보고서 작성 모달의 취소/보내기 버튼을 커스텀 소형 버튼 → 전역 .btn / .btn primary(height 2.25rem)로 교체해 다른 화면과 크기 통일. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1764,14 +1764,14 @@ function badgeFor(name: string | undefined): { label: string; cls: string } {
|
||||
/>
|
||||
<div class="cp-write-actions">
|
||||
<button
|
||||
class="cp-cancel-btn"
|
||||
class="btn"
|
||||
type="button"
|
||||
@click="cancelReportForm"
|
||||
>
|
||||
취소
|
||||
</button>
|
||||
<button
|
||||
class="cp-send-btn"
|
||||
class="btn primary"
|
||||
type="button"
|
||||
:disabled="reportSubmitting"
|
||||
@click="submitReport"
|
||||
@@ -3525,35 +3525,8 @@ a.file-info {
|
||||
justify-content: flex-end;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
.cp-cancel-btn {
|
||||
border: 1px solid var(--border-strong);
|
||||
background: #fff;
|
||||
color: var(--text-2);
|
||||
font-family: inherit;
|
||||
font-size: 0.781rem;
|
||||
font-weight: 600;
|
||||
padding: 0.375rem 0.75rem;
|
||||
border-radius: var(--radius-sm);
|
||||
cursor: pointer;
|
||||
}
|
||||
.cp-cancel-btn:hover {
|
||||
background: #f5f6f8;
|
||||
}
|
||||
.cp-send-btn {
|
||||
border: none;
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
font-family: inherit;
|
||||
font-size: 0.781rem;
|
||||
font-weight: 700;
|
||||
padding: 0.375rem 0.875rem;
|
||||
border-radius: var(--radius-sm);
|
||||
cursor: pointer;
|
||||
}
|
||||
.cp-send-btn:hover:not(:disabled) {
|
||||
background: var(--accent-hover);
|
||||
}
|
||||
.cp-send-btn:disabled {
|
||||
/* 공용 .btn 사용 — 비활성만 보강 */
|
||||
.cp-write-actions .btn:disabled {
|
||||
opacity: 0.6;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user