# \`code\`가 \`small\` 안에 바로 있을 때만 보이지 않음

**URL:** https://meta.discourse.org/t/code-is-invisible-solely-when-directly-inside-small/410078
**Category:** Bug
**Tags:** css, fixed, bug
**Created:** [8월 14, 2026, 12:11오후 UTC](https://meta.discourse.org/t/code-is-invisible-solely-when-directly-inside-small/410078 "2026-08-14T12:11:12Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [8월 17, 2026, 12:29오후 UTC](https://meta.discourse.org/t/code-is-invisible-solely-when-directly-inside-small/410078/5 "2026-08-17T12:29:36Z")

</div>

리포트 감사합니다 @roke_julian_lockhart 👍

아래 링크를 통해 수정될 예정입니다.

> <https://github.com/discourse/discourse/pull/42649>
>
> Previously, inline \`code\` only got its chip styling when its direct parent was \`…p\`, \`li\`, \`strong\`, \`em\` or \`a\` — every other container (\`small\`, \`b\`, \`i\`, \`sub\`, \`sup\`, \`span\`, \`del\`, headings, table cells, …) fell through to the code-block rule, whose light-mode background is a 3% blend of primary over secondary and is therefore indistinguishable from a quote's 5% blend, and \*exactly identical\* inside a nested quote. Fenced code blocks sat on the same collision, so they vanished in quotes too.
> 
> This change makes the inline style the default for \`code\` and scopes the block style to \`pre \> code\`, and derives \`$hljs-bg\` from \`$inline-code-bg\` so the two code surfaces match by default and neither disappears against a quote background. \`--hljs-bg\` and \`--inline-code-bg\` both keep their names and meanings, so themes that differentiate them are unaffected.
> 
> Reported in https://meta.discourse.org/t/code-is-invisible-solely-when-directly-inside-small/410078
> 
> \### Screenshots
> 
> \<img width="3200" height="1538" alt="comparison-dark" src="https://github.com/user-attachments/assets/28263913-6d94-46b5-a8e6-4178a601521f" /\>
> \<img width="3200" height="1538" alt="comparison-light" src="https://github.com/user-attachments/assets/86ab9405-f53e-423c-8e31-6b438bf2e5c5" /\>

---

_[View the full topic](https://meta.discourse.org/t/code-is-invisible-solely-when-directly-inside-small/410078)._
