diff --git a/packages/web/public/dimensions.css b/packages/web/public/dimensions.css index 44e83f84..7556a753 100644 --- a/packages/web/public/dimensions.css +++ b/packages/web/public/dimensions.css @@ -15,7 +15,8 @@ --dim-visible-toolbar: 0; /* set from JS */ --dim-visible-titlebar: 0; /* set from JS */ - --dim-toolbar-height: 25px; + --dim-toolbar-height: 30px; + --dim-toolstrip-height: 28px; --dim-titlebar-height: 30px; --dim-toolbar-top: calc(var(--dim-titlebar-height) * var(--dim-visible-titlebar)); --dim-header-top: calc( diff --git a/packages/web/src/tabs/TableDataTab.svelte b/packages/web/src/tabs/TableDataTab.svelte index 9d91a4b9..8349bcd3 100644 --- a/packages/web/src/tabs/TableDataTab.svelte +++ b/packages/web/src/tabs/TableDataTab.svelte @@ -53,9 +53,9 @@ import { getBoolSettingsValue } from '../settings/settingsTools'; import { setContext } from 'svelte'; import { apiCall } from '../utility/api'; - import { getLocalStorage, setLocalStorage, setLocalStorage } from '../utility/storageCache'; - import TabToolbarContainer from '../widgets/TabToolbarContainer.svelte'; - import ToolbarCommandButton from '../widgets/ToolbarCommandButton.svelte'; + import { getLocalStorage, setLocalStorage } from '../utility/storageCache'; + import ToolStripContainer from '../widgets/ToolStripContainer.svelte'; + import ToolbarCommandButton from '../widgets/ToolStripCommandButton.svelte'; export let tabid; export let conid; @@ -118,7 +118,7 @@ $: setLocalStorage('dataGrid_collapsedLeftColumn', $collapsedLeftColumnStore); - + - + - + -
-
+
+
{#if externalImage} {:else} @@ -36,7 +36,7 @@ align-self: stretch; display: flex; user-select: none; -} + } .button.disabled { color: var(--theme-font-3); } @@ -59,8 +59,9 @@ white-space: nowrap; align-self: center; background: var(--theme-bg-2); - padding: 2px 8px; + padding: 3px 8px; border-radius: 4px; + cursor: pointer; } img { width: 20px; diff --git a/packages/web/src/widgets/ToolbarCommandButton.svelte b/packages/web/src/widgets/ToolStripCommandButton.svelte similarity index 85% rename from packages/web/src/widgets/ToolbarCommandButton.svelte rename to packages/web/src/widgets/ToolStripCommandButton.svelte index 7c728929..a81f0499 100644 --- a/packages/web/src/widgets/ToolbarCommandButton.svelte +++ b/packages/web/src/widgets/ToolStripCommandButton.svelte @@ -8,10 +8,10 @@ diff --git a/packages/web/src/widgets/TabToolbarContainer.svelte b/packages/web/src/widgets/ToolStripContainer.svelte similarity index 84% rename from packages/web/src/widgets/TabToolbarContainer.svelte rename to packages/web/src/widgets/ToolStripContainer.svelte index 9e4ca352..3d354922 100644 --- a/packages/web/src/widgets/TabToolbarContainer.svelte +++ b/packages/web/src/widgets/ToolStripContainer.svelte @@ -1,5 +1,5 @@ -
- +
+
@@ -16,7 +16,7 @@ display: flex; } - .toolbar { + .toolstrip { position: absolute; left: 0; height: var(--dim-toolbar-height); diff --git a/packages/web/src/widgets/ToolbarDropDownButton.svelte b/packages/web/src/widgets/ToolbarDropDownButton.svelte new file mode 100644 index 00000000..82b6de12 --- /dev/null +++ b/packages/web/src/widgets/ToolbarDropDownButton.svelte @@ -0,0 +1,22 @@ + + + + {label} +