Skip to content

Commit

Permalink
docs: add block indents values
Browse files Browse the repository at this point in the history
  • Loading branch information
qradle-yndx committed Dec 26, 2024
1 parent a9a8eb1 commit a82d92d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .storybook/stories/documentation/Blocks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,24 @@ Each block has the following common properties:
`resetPaddings: boolean` — Allows resetting top and bottom margins standard for all blocks. **Deprecated**, use `indent` instead

`indent?: {
top?: string
top?: string,
bottom?: string
}` - block indentation at the top and bottom, default size `l`, examples you can see [here](?path=/story/blocks-cardlayout--with-custom-indents)

**indent size values:**

`0` - 0px

`xs` - 16px

`s` - 24px

`m` - 32px

`l` - 48px

`xl` - 64px

_[Common field types](?id=documentation-types&viewMode=docs)_

## [Banner](?path=/story/blocks-banner--docs&viewMode=docs)
Expand Down

0 comments on commit a82d92d

Please sign in to comment.