-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tray): full width at portrait orientation (#2547)
* docs(tray): docs update and fix guidelines link Fix incorrect Tray guidelines link that was 404 not found. Update descriptions in docs to clarify viewport orientation differences. * fix(tray): full width at portrait The Tray was not appearing as 100% width in portrait orientation because of a max-inline-size declaration coming from the .spectrum-Modal class used with .spectrum-Tray * fix(tray): whcm use border on correct element to show rounding Rounded corners were not showing in forced-colors mode, because the border that was appearing on the nested Dialog element, which has padding. Moves the high contrast border from that element to the root Tray element. * fix(tray): storybook heading text control and unused import The Storybook "heading" control was previously not usable, due to how the arg was being passed through to the Dialog. This text string control will now change the heading. Replaces an "unused" import for Modal whose CSS is still necessary for the Tray to render correctly. The unused import would be deleted on save/fix, resulting in the wrong styles. Replaced the template import with an import of just the CSS for Modal.
- Loading branch information
Showing
5 changed files
with
27 additions
and
26 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
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
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