diff --git a/packages/web/public/dimensions.css b/packages/web/public/dimensions.css index bae4ed42..9da6b06b 100644 --- a/packages/web/public/dimensions.css +++ b/packages/web/public/dimensions.css @@ -22,7 +22,6 @@ --dim-header-top: calc( var(--dim-titlebar-height) * var(--dim-visible-titlebar) + var(--dim-toolbar-height) * var(--dim-visible-toolbar) ); - --dim-content-top: calc(var(--dim-header-top) + var(--dim-tabs-panel-height)); --dim-large-form-margin: 20px; } diff --git a/packages/web/src/Screen.svelte b/packages/web/src/Screen.svelte index 65733486..ef408a9f 100644 --- a/packages/web/src/Screen.svelte +++ b/packages/web/src/Screen.svelte @@ -27,6 +27,7 @@ import TitleBar from './widgets/TitleBar.svelte'; import FontIcon from './icons/FontIcon.svelte'; import getElectron from './utility/getElectron'; + import TabsContainer from './tabpanel/TabsContainer.svelte'; $: currentThemeType = $currentThemeDefinition?.themeType == 'dark' ? 'theme-type-dark' : 'theme-type-light'; @@ -69,11 +70,8 @@ {/if} -
- -
-
- +
+
{#if $selectedWidget && $visibleWidgetSideBar}
diff --git a/packages/web/src/tabpanel/TabsContainer.svelte b/packages/web/src/tabpanel/TabsContainer.svelte new file mode 100644 index 00000000..e76c456b --- /dev/null +++ b/packages/web/src/tabpanel/TabsContainer.svelte @@ -0,0 +1,32 @@ + + +
+ +
+
+ +
+ +