Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/nav upsell RTL padding #37125

Merged
merged 10 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -436,7 +436,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
Loading