-
-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(modal): centered variant for any content
There currently is no declarative way to display content of a modal center aligned. Workaround for header is icon header or ui centered header or ui center aligned header Workaround for actions is to create an own theme modifying the @actionAlign variable For the content itself there is no workaround than creating a css class manually (would also work for actions This PR copies over the existing variant from header (which supports centered as well as center aligned already) and applies it to any direct sibling of the modal itself, so header or content or even actions can be displayed centered out of the box in the fomantic way
- Loading branch information
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters