chore: Adjust codeblock in markdown inner padding (#40140)

## Description

Follow-up to [#39669
](https://github.com/appsmithorg/appsmith/issues/39669)

| Before | After |
|--------|--------|
| ![Screenshot 2025-04-07 at 13-54-32 Nuno's Agent Editor
Appsmith](https://github.com/user-attachments/assets/33b77da9-abe9-4d5e-91c8-b002ed077efa)
| ![Screenshot 2025-04-07 at 15-50-22 Nuno's Agent Editor
Appsmith](https://github.com/user-attachments/assets/c832c5e2-5745-4bd2-b451-5224288c6316)
|

## 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:
vadim 2025-04-07 16:06:57 +02:00 committed by GitHub
parent 326023d0ab
commit ae755841f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,8 @@ export const Code = (props: CodeProps) => {
PreTag="div" PreTag="div"
customStyle={{ customStyle={{
backgroundColor: "var(--color-bg-neutral-subtle)", backgroundColor: "var(--color-bg-neutral-subtle)",
paddingBlock: "var(--inner-spacing-2)",
paddingInlineStart: "var(--inner-spacing-3)",
}} }}
language={match[1]} language={match[1]}
style={theme.colorMode === "dark" ? darkTheme : lightTheme} style={theme.colorMode === "dark" ? darkTheme : lightTheme}