diff --git a/src-web/commands/openWorkspaceSettings.tsx b/src-web/commands/openWorkspaceSettings.tsx index 3ce40ce8..ab978f77 100644 --- a/src-web/commands/openWorkspaceSettings.tsx +++ b/src-web/commands/openWorkspaceSettings.tsx @@ -14,7 +14,7 @@ export function openWorkspaceSettings(tab?: WorkspaceSettingsTab) { id: 'workspace-settings', title: 'Workspace Settings', size: 'md', - className: 'h-[calc(100vh-5rem)] max-h-[40rem]', + className: 'h-[calc(100vh-5rem)] !max-h-[40rem]', noPadding: true, render: ({ hide }) => ( diff --git a/src-web/components/Settings/Settings.tsx b/src-web/components/Settings/Settings.tsx index 127ee197..0d908294 100644 --- a/src-web/components/Settings/Settings.tsx +++ b/src-web/components/Settings/Settings.tsx @@ -74,22 +74,22 @@ export default function Settings({ hide }: Props) { onChangeValue={setTab} tabs={tabs.map((value) => ({ value, label: capitalize(value) }))} > - + - + - + - + - + - + diff --git a/src-web/components/core/Tabs/Tabs.tsx b/src-web/components/core/Tabs/Tabs.tsx index b8132da2..b9899515 100644 --- a/src-web/components/core/Tabs/Tabs.tsx +++ b/src-web/components/core/Tabs/Tabs.tsx @@ -84,7 +84,7 @@ export function Tabs({ tabListClassName, addBorders && '!-ml-1', 'flex items-center hide-scrollbars mb-2', - layout === 'horizontal' && 'h-full overflow-auto px-2', + layout === 'horizontal' && 'h-full overflow-auto p-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', @@ -100,9 +100,9 @@ export function Tabs({ const isActive = t.value === value; const btnClassName = classNames( 'h-sm flex items-center rounded whitespace-nowrap', - '!px-2 ml-[1px]', - addBorders && 'border', - isActive ? 'text-text' : 'text-text-subtle hover:text-text', + '!px-2 ml-[1px] hocus:text-text', + addBorders && 'border hocus:bg-surface-highlight', + isActive ? 'text-text' : 'text-text-subtle', isActive && addBorders ? 'border-surface-active bg-surface-active' : layout === 'vertical' @@ -177,7 +177,7 @@ export const TabContent = memo(function TabContent({
{children}