From 4fd64065e816d553e7b580a331137057cf312515 Mon Sep 17 00:00:00 2001 From: Joshua Castle <26531652+Kas-tle@users.noreply.github.com> Date: Sat, 23 Mar 2024 12:17:24 -0700 Subject: [PATCH] Fix inconsistencies with mobile tab size Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com> --- src/css/custom.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/css/custom.css b/src/css/custom.css index 8cf7f2e..3daffec 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -359,12 +359,16 @@ html[data-theme='dark'] { } @media (pointer:coarse) { - .tabs:not(.tabs-host-type) { + .tabs { flex-wrap: nowrap; white-space: nowrap; - display: flex; + display: inline-block; max-width: 100%; } + + .openapi-tabs__code-list-container, .tabs-host-type { + display: flex !important; + } } .tabs-host-type {