diff --git a/packages/components/src/popover/style.scss b/packages/components/src/popover/style.scss index 4dbb346d94e2e7..6401b40654a17c 100644 --- a/packages/components/src/popover/style.scss +++ b/packages/components/src/popover/style.scss @@ -171,12 +171,7 @@ $arrow-size: 8px; .components-popover:not(.is-mobile):not(.is-middle).is-right & { /*!rtl:ignore*/ - margin-left: 0; - } - - .components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right & { - /*!rtl:ignore*/ - margin-left: -12px; + margin-left: -24px; } .components-popover:not(.is-mobile).is-left & { @@ -187,12 +182,7 @@ $arrow-size: 8px; .components-popover:not(.is-mobile):not(.is-middle).is-left & { /*!rtl:ignore*/ - margin-right: 0; - } - - .components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left & { - /*!rtl:ignore*/ - margin-right: -12px; + margin-right: -24px; } } diff --git a/packages/nux/src/components/dot-tip/style.scss b/packages/nux/src/components/dot-tip/style.scss index 73db96374b9feb..e8e25b423830ca 100644 --- a/packages/nux/src/components/dot-tip/style.scss +++ b/packages/nux/src/components/dot-tip/style.scss @@ -82,7 +82,6 @@ $dot-scale: 3; // How much the pulse animation should scale up by in size &:not(.is-mobile).is-left, &:not(.is-mobile).is-center, &:not(.is-mobile).is-right { - // Position tips above popovers z-index: z-index(".nux-dot-tip"); @@ -99,4 +98,24 @@ $dot-scale: 3; // How much the pulse animation should scale up by in size } } } + + &.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content { + /*!rtl:ignore*/ + margin-left: 0; + } + + &.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content { + /*!rtl:ignore*/ + margin-right: 0; + } + + &.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content { + /*!rtl:ignore*/ + margin-left: -12px; + } + + &.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content { + /*!rtl:ignore*/ + margin-right: -12px; + } }