chore: Adjust codeblock in markdown inner padding (#40140)
## Description Follow-up to [#39669 ](https://github.com/appsmithorg/appsmith/issues/39669) | Before | After | |--------|--------| |  |  | ## Automation /ok-to-test tags="@tag.Sanity" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!IMPORTANT] > 🟣 🟣 🟣 Your tests are running. > Tests running at: <https://github.com/appsmithorg/appsmith/actions/runs/14311330123> > Commit: e2885eae4ab12224eb39112f0b5895a81c146eb9 > Workflow: `PR Automation test suite` > Tags: `@tag.Sanity` > Spec: `` > <hr>Mon, 07 Apr 2025 14:06:47 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Enhanced the presentation of inline code blocks by refining the spacing for improved readability and a more balanced visual layout. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
326023d0ab
commit
ae755841f6
|
|
@ -47,6 +47,8 @@ export const Code = (props: CodeProps) => {
|
|||
PreTag="div"
|
||||
customStyle={{
|
||||
backgroundColor: "var(--color-bg-neutral-subtle)",
|
||||
paddingBlock: "var(--inner-spacing-2)",
|
||||
paddingInlineStart: "var(--inner-spacing-3)",
|
||||
}}
|
||||
language={match[1]}
|
||||
style={theme.colorMode === "dark" ? darkTheme : lightTheme}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user