Skip to content

Commit

Permalink
Remove an invalid CSS hack that had fixed the Tooltip position within…
Browse files Browse the repository at this point in the history
… a Modal before.

Currently, the minimum supported version of this extension is WP 5.9.
- This hack doesn't work for WP 5.9 and 6.0.
- WP >= 6.1 itself has already fixed this issue, so it's no longer needed.
  • Loading branch information
eason9487 committed Aug 4, 2023
1 parent 8f5d63a commit de3a889
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions js/src/css/shared/_gutenberg-components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,3 @@
.components-input-control__suffix {
margin-right: $grid-unit;
}

// Hack to fix the Tooltip position of the top-right side close button in a Modal component.
// The follow up can be found here: https://github.com/woocommerce/google-listings-and-ads/issues/203
.components-modal {
&__screen-overlay {
display: flex;
justify-content: center;
align-items: center;
}

&__frame {
@include break-small {
transform: initial;
position: relative;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
}
}

0 comments on commit de3a889

Please sign in to comment.