Skip to content

Add better description how header title and content slots are aligned #4302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: latest
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions articles/components/dialog/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ The Dialog component has static header and footer areas, and a scrolling content

The header contains an optional title element, and a slot next to it for custom header content, such as a close button.

When there is title text or element set via API, like in the example below, the content slot is automatically right aligned, otherwise it is left aligned.

[.example]
--

Expand Down
Loading