From 3dff98beb4384f0ffb13961c71178dedccf480a0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 14 Jul 2023 15:40:42 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/about.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css index 89e7b82924a5b..f7b3d3be0dfca 100644 --- a/src/wp-admin/css/about.css +++ b/src/wp-admin/css/about.css @@ -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) {