Skip to content

chore: Clarify ContentLayout defaultPadding usage without AppLayout - #5264

Open
abdhalees wants to merge 2 commits into
cloudscape-design:mainfrom
abdhalees:docs/content-layout-default-padding
Open

abdhalees wants to merge 2 commits into
cloudscape-design:mainfrom
abdhalees:docs/content-layout-default-padding

Conversation

@abdhalees

Copy link
Copy Markdown
Member

Description

The defaultPadding API description on ContentLayout only mentioned setting it to true when using AppLayout with disableContentPaddings=true. It should also be true when the page does not use AppLayout at all. This updates the description to list both cases, matching the format already used by the notifications and breadcrumbs props.

How has this been tested?

Docs-only change. Updated the documenter snapshot to match the new description.

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@abdhalees
abdhalees requested a review from a team as a code owner November 6, 2026 10:54
@abdhalees
abdhalees requested review from amanabiy and removed request for a team November 6, 2026 10:54
@github-actions
github-actions Bot temporarily deployed to fork-dev-pages-react16 November 6, 2026 11:08 Inactive
@github-actions
github-actions Bot temporarily deployed to fork-dev-pages-react18 November 6, 2026 11:08 Inactive
@codecov

codecov Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.04%. Comparing base (04cb6a0) to head (bb280ad).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5264      +/-   ##
==========================================
- Coverage   97.83%   94.04%   -3.80%     
==========================================
  Files        1008     1007       -1     
  Lines       32582    28232    -4350     
  Branches    12092    10204    -1888     
==========================================
- Hits        31878    26550    -5328     
+ Misses        663      593      -70     
- Partials       41     1089    +1048     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@abdhalees abdhalees changed the title docs: Clarify ContentLayout defaultPadding usage without AppLayout chore: Clarify ContentLayout defaultPadding usage without AppLayout Nov 6, 2026

This branch was successfully deployed

2 active deployments
fork-dev-pages-react18 — bb280ad7 Deployed Nov 6, 2026 by github-actions[bot]
fork-dev-pages-react16 — bb280ad7 Deployed Nov 6, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant