Skip to content

Commit

Permalink
[Pattern Setup]: Fix full heights during transition. (#46615)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras authored Dec 16, 2022
1 parent 89998fd commit 76aa4bb
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
width: 100%;
border-radius: $radius-block-ui;

// TODO change to check parent.
&.view-mode-grid {
.block-editor-block-pattern-setup__toolbar {
justify-content: center;
Expand Down Expand Up @@ -84,13 +83,15 @@
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
box-sizing: border-box;

.carousel-container {
overflow: hidden;
position: relative;
padding: 0;
margin: 0;
height: 100%;
list-style: none;
transform-style: preserve-3d;
* {
Expand All @@ -100,6 +101,8 @@
position: absolute;
top: 0;
width: 100%;
height: 100%;
background-color: $white;
margin: auto;
padding: 0;
transition: transform 0.5s, z-index 0.5s;
Expand Down

1 comment on commit 76aa4bb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3713637302
📝 Reported issues:

Please sign in to comment.