chore: update inline code styles (#37136)
Before:  After:  /ok-to-test tags="@tag.Anvil" <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Summary by CodeRabbit - **New Features** - Enhanced styling for code elements in markdown, improving visual presentation. - Updated background and text colors for better readability. - Introduced word-breaking for code snippets to enhance text handling. - Refined outline properties for code elements for a cleaner look. <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/11591450804> > Commit: a02c5a5ed704f8cb5af24c97c754c7ce00178798 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11591450804&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Anvil` > Spec: > <hr>Wed, 30 Oct 2024 10:57:46 UTC <!-- end of auto-generated comment: Cypress test results -->
This commit is contained in:
parent
e7e3d5e002
commit
77db05e54f
|
|
@ -97,8 +97,11 @@
|
|||
|
||||
code:not(pre code) {
|
||||
padding-inline: var(--inner-spacing-1);
|
||||
background: var(--color-bg-accent-subtle);
|
||||
background: var(--color-bg-neutral-subtle);
|
||||
color: var(--color-fg-negative);
|
||||
border-radius: var(--border-radius-elevation-3);
|
||||
word-break: break-word;
|
||||
outline: var(--border-width-1) solid var(--color-bg-neutral-soft);
|
||||
}
|
||||
|
||||
pre {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user