Back to vertical tabs in workspace settings

This commit is contained in:
Gregory Schier
2025-11-10 06:21:26 -08:00
parent 2f60b7b1f3
commit d318546d0c
3 changed files with 5 additions and 6 deletions

View File

@@ -12,7 +12,6 @@ export function openWorkspaceSettings(tab?: WorkspaceSettingsTab) {
if (workspaceId == null) return; if (workspaceId == null) return;
showDialog({ showDialog({
id: 'workspace-settings', id: 'workspace-settings',
title: 'Workspace Settings',
size: 'md', size: 'md',
className: 'h-[calc(100vh-5rem)] !max-h-[40rem]', className: 'h-[calc(100vh-5rem)] !max-h-[40rem]',
noPadding: true, noPadding: true,

View File

@@ -181,7 +181,7 @@ export function Workspace() {
<div className="absolute inset-0 pointer-events-none"> <div className="absolute inset-0 pointer-events-none">
<div // Add subtle background <div // Add subtle background
style={environmentBgStyle} style={environmentBgStyle}
className="absolute inset-0 opacity-5" className="absolute inset-0 opacity-[0.07]"
/> />
<div // Add a subtle border bottom <div // Add a subtle border bottom
style={environmentBgStyle} style={environmentBgStyle}

View File

@@ -63,17 +63,17 @@ export function WorkspaceSettingsDialog({ workspaceId, hide, tab }: Props) {
return ( return (
<Tabs <Tabs
layout="horizontal"
value={activeTab} value={activeTab}
onChangeValue={setActiveTab} onChangeValue={setActiveTab}
label="Folder Settings" label="Folder Settings"
className="pt-2 pb-2 pl-3 pr-1" className="pt-4 pb-2 px-3"
tabListClassName="pl-4"
addBorders addBorders
tabs={[ tabs={[
{ value: TAB_GENERAL, label: 'General' }, { value: TAB_GENERAL, label: 'Workspace' },
{ {
value: TAB_DATA, value: TAB_DATA,
label: 'Data', label: 'Storage',
}, },
...headersTab, ...headersTab,
...authTab, ...authTab,