In view mode, the <code> element has 'all: unset' style applied. Please remove this style.
In edit mode, the font style is peroperly applied.
Hi @백은주
In Jira, issues with the <code> element's display in view mode, despite correct rendering in edit mode, may arise from a specific CSS rule or customization.
To resolve this, administrators can adjust the CSS by adding a style rule to reset font styling for the <code> element in view mode.
For instance refer the below sample CSS
.view-mode code {
all: initial; /* or all: inherit */
font-family: monospace; /* or your preferred font */
background-color: #f5f5f5; /* optional background color */
padding: 2px 4px;
border-radius: 3px;
}
Key considerations, that custom CSS capabilities vary between Jira editions. Jira Cloud has limitations, whereas Server and Data Center editions offer more flexibility.
Besides this, utilize Jira's built-in formatting options, such as the {code} macro, for consistent rendering.
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.