-
Notifications
You must be signed in to change notification settings - Fork 808
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jetpack Boost: Image Guide compatibility improvements (#28026)
* Use a fixed position for the guide * Increase padding * Add a Portal component that teleports slot to body * Portal the pop-up to body to fix z-index issues * FIxed a compatibility bug with Jetpack Mosaic gallery Wrapping caused the object-fit to break, this seems to be a more lightweight approach. * A hacky compatibility fix across plugins * Simplify keeping the Pop-up open using a class * Rename classes * Don't overlay other interactive elements as much as possible By taking up as little space as possible. * Be a little more clear on what's going on, WIP * changelog * Undo inexplicable change from merge * Update info block position in tooltip * Fix image guide inside links * Refactor getClosestContainingAncestor to not use arrays to keep track of current element * Refactor getClosestContainingAncestor to improve code readability * Disable image guide in iframes This is done to ensure editors using iframes don't initialize the image guide in the WP-Admin. * Lints * Revert regex update that happened during trunk merge Co-authored-by: Mark George <thingalon@gmail.com> Co-authored-by: Peter Petrov <peter.petrov89@gmail.com>
- Loading branch information
1 parent
b4a4e80
commit d1c8d7f
Showing
8 changed files
with
226 additions
and
129 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
Oops, something went wrong.