feat: 표의 학교 열도 왼쪽 정렬로 맞춘다
콘텐츠(만화·쇼츠)·학생·포인트 목록의 학교/학교명 열에 align=start(사용자 요청). Co-Authored-By: Claude Opus 5
@028f4788e25bad2bb393d37ba0f5e500db7ecd1a
--- @fox/styles/_fox-table.scss
+++ @fox/styles/_fox-table.scss
... | ... | @@ -28,7 +28,7 @@ |
| 28 | 28 |
// 열 이름을 글자로 보여 준다. |
| 29 | 29 |
// |
| 30 | 30 |
// 열 정렬 규약(디자인팀 확정, 2026-09-22) — 목록·기본 표는 **가운데가 기본**이고, **제목 열 |
| 31 |
-// (emphasis)·글자 식별 열(코드·ID·아이디·이름·작성자)·긴 글 열(주소·설명·내용·키워드·이메일· |
|
| 31 |
+// (emphasis)·글자 식별 열(코드·ID·아이디·이름·작성자·학교)·긴 글 열(주소·설명·내용·키워드·이메일· |
|
| 32 | 32 |
// 전화번호)은 `align="start"`** 로 왼쪽에 둔다. 번호·날짜·상태·구분 같은 짧은 값은 가운데. |
| 33 | 33 |
// 머리칸은 본문 열과 같은 정렬이다(FoxListContainer가 같은 align을 머리칸에도 준다). |
| 34 | 34 |
// |
--- app/(protected)/(basic)/contents/comics/_components/comics-list.tsx
+++ app/(protected)/(basic)/contents/comics/_components/comics-list.tsx
... | ... | @@ -45,6 +45,7 @@ |
| 45 | 45 |
{
|
| 46 | 46 |
key: 'school', |
| 47 | 47 |
header: '학교', |
| 48 |
+ align: 'start', |
|
| 48 | 49 |
width: 120, |
| 49 | 50 |
render: (row) => formatSchoolLabel(row.schoolCode, schools), |
| 50 | 51 |
}, |
--- app/(protected)/(basic)/contents/shorts/_components/shorts-list.tsx
+++ app/(protected)/(basic)/contents/shorts/_components/shorts-list.tsx
... | ... | @@ -45,6 +45,7 @@ |
| 45 | 45 |
{
|
| 46 | 46 |
key: 'school', |
| 47 | 47 |
header: '학교', |
| 48 |
+ align: 'start', |
|
| 48 | 49 |
width: 120, |
| 49 | 50 |
render: (row) => formatSchoolLabel(row.schoolCode, schools), |
| 50 | 51 |
}, |
--- app/(protected)/(basic)/points/accumulated/_components/point-account-list.tsx
+++ app/(protected)/(basic)/points/accumulated/_components/point-account-list.tsx
... | ... | @@ -82,7 +82,7 @@ |
| 82 | 82 |
}, |
| 83 | 83 |
{ key: 'loginId', header: '아이디', align: 'start', width: 140 },
|
| 84 | 84 |
{ key: 'studentName', header: '학생명', align: 'start', width: 120, emphasis: true },
|
| 85 |
- { key: 'schoolName', header: '학교명', width: 160 },
|
|
| 85 |
+ { key: 'schoolName', header: '학교명', align: 'start', width: 160 },
|
|
| 86 | 86 |
{ key: 'grade', header: '학년', width: 80, align: 'center' },
|
| 87 | 87 |
{ key: 'classNo', header: '반', width: 80, align: 'center' },
|
| 88 | 88 |
{ key: 'studentNo', header: '번호', width: 80, align: 'center' },
|
--- app/(protected)/(basic)/students/_components/student-list.tsx
+++ app/(protected)/(basic)/students/_components/student-list.tsx
... | ... | @@ -110,6 +110,7 @@ |
| 110 | 110 |
{
|
| 111 | 111 |
key: 'schoolName', |
| 112 | 112 |
header: '학교', |
| 113 |
+ align: 'start', |
|
| 113 | 114 |
width: 160, |
| 114 | 115 |
render: (row) => text(row.schoolName), |
| 115 | 116 |
}, |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?