Skip to content

Commit

Permalink
NavigatorProvider: Exclude size value from contain CSS rule
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Jan 3, 2024
1 parent a85dcae commit 8a8114d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/components/src/navigator/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ export const navigatorProviderWrapper = css`
/* Prevents horizontal overflow while animating screen transitions */
overflow-x: hidden;
/* Mark this subsection of the DOM as isolated, providing performance benefits
* by limiting calculations of layout, style, paint, size, or any combination
* to a DOM subtree rather than the entire page.
* by limiting calculations of layout, style and paint to a DOM subtree rather
* than the entire page.
*/
contain: strict;
contain: content;
`;

const fadeInFromRight = keyframes( {
Expand Down

0 comments on commit 8a8114d

Please sign in to comment.