Skip to content

Commit

Permalink
Help/About: Adjust horizontal padding on the tabs under 960 pixels wi…
Browse files Browse the repository at this point in the history
…dth.

This ensures that the About / Credits / Freedoms / Privacy / Get Involved tabs menu does not expand beyond the container when the side admin menu is expanded.

Follow-up to [56220], [56227], [56233].

Props costdev, mukesh27.
See #23348.

git-svn-id: https://develop.svn.wordpress.org/trunk@56234 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Jul 14, 2023
1 parent 21374c2 commit 3dff98b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/wp-admin/css/about.css
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,10 @@
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
}

.about__header-navigation .nav-tab {
padding: calc(var(--gap) * 0.75) calc(var(--gap) * 0.5);
}
}

@media screen and (max-width: 782px) {
Expand Down

0 comments on commit 3dff98b

Please sign in to comment.