fix(tkfb): 연차 테이블 헤더 겹침 수정 — Tailwind preflight border 충돌
Tailwind CDN preflight가 table/thead/tbody/tr에 border-style:solid를 넣어 border-collapse 모드에서 보이지 않는 border가 공간을 차지함. table 구조 요소에 border:none !important로 명시적 제거, th/td에만 border 적용. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -60,24 +60,21 @@
|
||||
.dot-longservice { background: #f3e8ff; border: 1px solid #a855f7; }
|
||||
.dot-special { background: #fce7f3; border: 1px solid #ec4899; }
|
||||
|
||||
/* 테이블 */
|
||||
/* 테이블 — Tailwind preflight 충돌 해소 */
|
||||
.data-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse !important;
|
||||
border-spacing: 0 !important;
|
||||
border-collapse: collapse;
|
||||
font-size: 0.85rem;
|
||||
background: white;
|
||||
table-layout: fixed;
|
||||
}
|
||||
.data-table thead { display: table-header-group; }
|
||||
.data-table, .data-table thead, .data-table tbody, .data-table tr {
|
||||
border: none !important;
|
||||
border-style: none !important;
|
||||
}
|
||||
.data-table th, .data-table td {
|
||||
padding: 0.6rem 0.5rem;
|
||||
text-align: center;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-top: none;
|
||||
}
|
||||
.data-table thead tr:first-child th {
|
||||
border-top: 1px solid #e5e7eb;
|
||||
border: 1px solid #e5e7eb !important;
|
||||
}
|
||||
.data-table th {
|
||||
background: #f9fafb;
|
||||
|
||||
Reference in New Issue
Block a user