mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:08:32 +02:00
Back to vertical tabs in workspace settings
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user