Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10942,8 +10942,10 @@ exports[`Components definition for content-layout matches the snapshot: content-
"type": "string",
},
{
"description": "Set it to \`true\` if your page uses the [app layout component](/components/app-layout/) with \`disableContentPaddings=true\`.
In that case, the content layout will become sensitive to the state of drawers in app layout and leave the necessary padding to avoid visual overlap with those elements.",
"description": "Set it to \`true\` in either of these cases:
* If your page does not use the [app layout component](/components/app-layout/).
* If your page uses the [app layout component](/components/app-layout/) with \`disableContentPaddings=true\`.
In that case, the content layout will become sensitive to the state of drawers in app layout and leave the necessary padding to avoid visual overlap with those elements.",
"name": "defaultPadding",
"optional": true,
"type": "boolean",
Expand Down
6 changes: 4 additions & 2 deletions src/content-layout/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ export interface ContentLayoutProps extends BaseComponentProps {
maxContentWidth?: number;

/**
* Set it to `true` if your page uses the [app layout component](/components/app-layout/) with `disableContentPaddings=true`.
* In that case, the content layout will become sensitive to the state of drawers in app layout and leave the necessary padding to avoid visual overlap with those elements.
* Set it to `true` in either of these cases:
* * If your page does not use the [app layout component](/components/app-layout/).
* * If your page uses the [app layout component](/components/app-layout/) with `disableContentPaddings=true`.
* In that case, the content layout will become sensitive to the state of drawers in app layout and leave the necessary padding to avoid visual overlap with those elements.
*/
defaultPadding?: boolean;

Expand Down
Loading