From 01310cda0fbc9fd7ef8c4bf50328cfa6ffc709c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sun, 8 Mar 2026 01:26:07 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[planning-design]=20=EB=B8=94=EB=A1=9D?= =?UTF-8?q?=20=EC=84=9C=EC=8B=9D(=EA=B8=80=EC=9E=90=EC=83=89/=ED=81=AC?= =?UTF-8?q?=EA=B8=B0/=EA=B5=B5=EA=B8=B0=20=EB=93=B1)=20=EC=9E=90=EC=8B=9D?= =?UTF-8?q?=20=EC=9A=94=EC=86=8C=EC=97=90=20=EC=83=81=EC=86=8D=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 자식 요소(.sb-blk-text, .sb-blk-heading 등)에 하드코딩된 color가 있어 부모 스타일 무시됨 - CSS attribute selector로 부모에 style이 설정된 경우 color/font-size/font-weight/font-style/text-align inherit 적용 --- .../views/rd/planning-design/index.blade.php | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/resources/views/rd/planning-design/index.blade.php b/resources/views/rd/planning-design/index.blade.php index 1b31754a..660edb54 100644 --- a/resources/views/rd/planning-design/index.blade.php +++ b/resources/views/rd/planning-design/index.blade.php @@ -784,6 +784,40 @@ .sb-ctx-color-swatch:hover { transform: scale(1.15); } .sb-ctx-color-swatch.active { border-color: #4338ca; } +/* Block style inheritance — 부모 .sb-block에 설정된 color/font-size/font-weight 등을 자식에게 전달 */ +.sb-block[style*="color"] .sb-blk-text, +.sb-block[style*="color"] .sb-blk-heading, +.sb-block[style*="color"] .sb-blk-callout-text, +.sb-block[style*="color"] .sb-blk-code, +.sb-block[style*="color"] .sb-blk-todo-text, +.sb-block[style*="color"] .sb-blk-mock-card-title, +.sb-block[style*="color"] .sb-blk-mock-card-body, +.sb-block[style*="color"] .sb-blk-mockup-label, +.sb-block[style*="color"] .sb-blk-table th, +.sb-block[style*="color"] .sb-blk-table td, +.sb-block[style*="color"] .sb-blk-mock-btn { color: inherit; } + +.sb-block[style*="font-size"] .sb-blk-text, +.sb-block[style*="font-size"] .sb-blk-heading, +.sb-block[style*="font-size"] .sb-blk-callout-text, +.sb-block[style*="font-size"] .sb-blk-todo-text, +.sb-block[style*="font-size"] .sb-blk-mock-card-title, +.sb-block[style*="font-size"] .sb-blk-mock-card-body { font-size: inherit; } + +.sb-block[style*="font-weight"] .sb-blk-text, +.sb-block[style*="font-weight"] .sb-blk-heading, +.sb-block[style*="font-weight"] .sb-blk-callout-text, +.sb-block[style*="font-weight"] .sb-blk-todo-text { font-weight: inherit; } + +.sb-block[style*="font-style"] .sb-blk-text, +.sb-block[style*="font-style"] .sb-blk-heading, +.sb-block[style*="font-style"] .sb-blk-callout-text, +.sb-block[style*="font-style"] .sb-blk-todo-text { font-style: inherit; } + +.sb-block[style*="text-align"] .sb-blk-text, +.sb-block[style*="text-align"] .sb-blk-heading, +.sb-block[style*="text-align"] .sb-blk-callout-text { text-align: inherit; } + /* Block type styles */ .sb-blk-text { padding: 6px 8px; font-size: 13px; line-height: 1.7; min-height: 24px; outline: none; color: #334155; } .sb-blk-text:empty::before { content: attr(data-placeholder); color: #c8d0da; }