Skip to content

Commit

Permalink
Fix/nav upsell RTL padding (#37125)
Browse files Browse the repository at this point in the history
* Fix navigation upsell RTL padding

* changelog

* Fix RTL notice close button

* Try fix folded RTL

* Try fix folded RTL

* Try fix folded RTL

* Try fix folded RTL

* Try fix folded RTL

* Update projects/packages/jetpack-mu-wpcom/src/features/wpcom-site-menu/wpcom-site-menu.php

Co-authored-by: okmttdhr, tada <[email protected]>

* Update changelog

---------

Co-authored-by: okmttdhr, tada <[email protected]>
  • Loading branch information
DustyReagan and okmttdhr authored May 1, 2024
1 parent 8a1f680 commit 3e9adbe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Fix navigation upsell and notification RTL spacing.
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ function wpcom_add_hosting_menu_intro_notice() {

.wpcom-site-menu-intro-notice a.close-button {
height: 16px;
margin-left: auto;
margin-inline-start: auto;
}
</style>
<div class="wpcom-site-menu-intro-notice notice notice-info" role="alert">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
}

.wp-menu-name {
padding-top: 0;
padding-left: 8px;
padding: 0 8px 8px 8px;
}

.upsell_banner {
Expand Down Expand Up @@ -148,6 +147,11 @@
@include folded;
}

.rtl.folded #adminmenu li.toplevel_page_site-notices .wp-menu-name {
right: auto;
padding-right: 4px;
}

@media only screen and (max-width: 960px) and (min-width: 783px) {
.auto-fold {
@include folded;
Expand Down

0 comments on commit 3e9adbe

Please sign in to comment.