-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(web): change element wrapping core/EmptyState children (#1462)
## Problem The elements in the login page are rendered wrongly since #1441. That's because the `Flex` component used for wrapping the `core/EmptyState` children. It is missing the "direction" prop for telling it to layout children vertically instead of horizontally. Moreover, it looks like a `Stack` element is a better choice for this case. ## Solution Adapt `core/EmptyState` for using an `<Stack hasGutter>` instead of a `<Flex>` configured to behave almost the same. ## Testing - Tested manually
- Loading branch information
Showing
2 changed files
with
19 additions
and
23 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