Tweak tab padding

This commit is contained in:
Gregory Schier
2025-07-21 07:45:11 -07:00
parent 178cc88efb
commit 2bd8a50df4
2 changed files with 3 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ export function Tabs({
tabListClassName,
addBorders && '!-ml-1',
'flex items-center hide-scrollbars mb-2',
layout === 'horizontal' && 'h-full overflow-auto p-2',
layout === 'horizontal' && 'h-full overflow-auto p-2 -mr-2',
layout === 'vertical' && 'overflow-x-auto overflow-y-visible ',
// Give space for button focus states within overflow boundary.
layout === 'vertical' && 'py-1 -ml-5 pl-3 pr-1',
@@ -108,7 +108,7 @@ export function Tabs({
: layout === 'vertical'
? 'border-border-subtle'
: 'border-transparent',
layout === 'horizontal' && 'flex justify-between',
layout === 'horizontal' && 'flex justify-between min-w-[10rem]',
);
if ('options' in t) {