Skip to content

Commit 8a05664

Browse files
civilian7claude
andcommitted
fix: 아이콘 컬럼 CSS 셀렉터를 style 속성 기반으로 수정
MkDocs가 align="center" 대신 style="text-align: center"를 생성하므로 셀렉터를 [style*="text-align: center"]로 변경. 폭 1.2em, !important 적용. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a51299a commit 8a05664

2 files changed

Lines changed: 14 additions & 20 deletions

File tree

‎docs/en/css/extra.css‎

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,13 @@
105105
min-width: 12em;
106106
}
107107

108-
/* Schema table — icon column fixed width */
109-
.md-typeset table:not([class]) th:first-child:empty,
110-
.md-typeset table:not([class]) td:first-child:empty,
111-
.md-typeset table:not([class]) th[align="center"]:first-child,
112-
.md-typeset table:not([class]) td[align="center"]:first-child {
113-
width: 1.5em;
114-
min-width: 1.5em;
115-
max-width: 1.5em;
116-
padding: 0.35em 0.2em;
117-
text-align: center;
108+
/* Schema table — icon column (PK/FK) fixed narrow width */
109+
.md-typeset table:not([class]) th:first-child[style*="text-align: center"],
110+
.md-typeset table:not([class]) td:first-child[style*="text-align: center"] {
111+
width: 1.2em !important;
112+
min-width: 1.2em !important;
113+
max-width: 2em !important;
114+
padding: 0.35em 0 !important;
118115
}
119116

120117
/* Code in table cells — tighter */

‎docs/ko/css/extra.css‎

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,13 @@
105105
min-width: 12em;
106106
}
107107

108-
/* Schema table — icon column fixed width */
109-
.md-typeset table:not([class]) th:first-child:empty,
110-
.md-typeset table:not([class]) td:first-child:empty,
111-
.md-typeset table:not([class]) th[align="center"]:first-child,
112-
.md-typeset table:not([class]) td[align="center"]:first-child {
113-
width: 1.5em;
114-
min-width: 1.5em;
115-
max-width: 1.5em;
116-
padding: 0.35em 0.2em;
117-
text-align: center;
108+
/* Schema table — icon column (PK/FK) fixed narrow width */
109+
.md-typeset table:not([class]) th:first-child[style*="text-align: center"],
110+
.md-typeset table:not([class]) td:first-child[style*="text-align: center"] {
111+
width: 1.2em !important;
112+
min-width: 1.2em !important;
113+
max-width: 2em !important;
114+
padding: 0.35em 0 !important;
118115
}
119116

120117
/* Code in table cells — tighter */

0 commit comments

Comments
 (0)