Skip to content

Commit d8cf437

Browse files
authored
chore: Adjust nested paddings in markdown (#40260)
## Description Part of appsmithorg/appsmith-ee#7148 ## Automation /ok-to-test tags="@tag.Sanity" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/14471353200> > Commit: 08688d9 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14471353200&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Sanity` > Spec: > <hr>Tue, 15 Apr 2025 14:42:20 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** - Improved indentation for list items in markdown content, increasing left margin for nested lists to enhance readability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 6b6e348 commit d8cf437

File tree

1 file changed

+5
-0
lines changed
  • app/client/packages/design-system/widgets/src/components/Markdown/src

1 file changed

+5
-0
lines changed

app/client/packages/design-system/widgets/src/components/Markdown/src/styles.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,16 @@
7979

8080
li {
8181
margin-bottom: var(--inner-spacing-2);
82+
margin-left: 0.5em;
8283
position: relative;
8384
list-style-type: auto;
8485
letter-spacing: -0.02em;
8586
}
8687

88+
> :is(ul, ol) > li {
89+
margin-left: 1em;
90+
}
91+
8792
a {
8893
display: inline-block;
8994
}

0 commit comments

Comments
 (0)