Help/About: Adjust horizontal padding on the tabs under 960 pixels width.

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
This commit is contained in:
Sergey Biryukov
2023-07-14 15:40:42 +00:00
parent 21374c2e60
commit 3dff98beb4

View File

@@ -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) {