summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/globals.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/app/globals.css b/app/globals.css
index b1a58b0f..642fbebb 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -251,3 +251,33 @@ th[data-read-only="true"] {
border-right: 1px solid hsl(var(--border));
}
+/* Toast UI Editor 테이블 스타일 커스터마이징 */
+/* 에디터 내부 (편집 중) */
+.toastui-editor-contents table {
+ border-collapse: collapse;
+ width: 100%;
+}
+
+.toastui-editor-contents table thead th {
+ background-color: transparent !important; /* 헤더 배경 제거 */
+ border: 1px solid hsl(var(--border));
+ padding: 8px;
+ text-align: left;
+ font-weight: 600; /* 원하는 경우 폰트 굵기 조정 */
+}
+
+.toastui-editor-contents table tbody td {
+ border: 1px solid hsl(var(--border));
+ padding: 8px;
+}
+
+.toastui-editor-contents table tbody tr:hover {
+ background-color: hsl(var(--muted) / 0.3);
+}
+
+/* 미리보기 및 렌더링된 콘텐츠에도 동일한 스타일 적용 */
+.toastui-editor-ww-mode table thead th,
+.toastui-editor-md-mode table thead th {
+ background-color: transparent !important;
+}
+