forked from elastic/eui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CSS-in-JS] Fix EUI media queries to more flexibly account for custom…
… breakpoints (elastic#6431) * Create `euiMinBreakpoint` and `euiMaxBreakpoint` utilities - for better future-proofing for consumers who add custom (e.g.) `xxl`/`xxs` breakpoints * [Docs] Add docs example * Update simple components to use new min/max breakpoint util * [REVERT ME] Test observability app use case w/ flyouts - set screen size to 2400 px to see bug * [EuiFlyout] Fix responsive media queries to work with custom breakpoints + query organization - move smaller/mobile styles before larger desktop styles * changelog * wording is hard * Revert "[REVERT ME] Test observability app use case w/ flyouts" This reverts commit aff41f9. * Fix incorrect mobile margins on `responsiveColumn` `EuiDescriptionList`s * [EuiToastList] Clean up unnecessarily convoluted CSS - base padding is already set on the base CSS, so using min-width means we don't have 2 unnecessary overrides - use nesting instead of repeating :not:empty selectors - not even sure what is going on with that euiToastWidth math
- Loading branch information
Showing
13 changed files
with
275 additions
and
72 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
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
16 changes: 16 additions & 0 deletions
16
src/global_styling/mixins/__snapshots__/_responsive.test.ts.snap
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
Oops, something went wrong.