diff --git a/build-plugin.sh b/build-plugin.sh index a90a3a5..5392e7b 100755 --- a/build-plugin.sh +++ b/build-plugin.sh @@ -2,7 +2,7 @@ set -eu PLUGIN="u-navigator" -VERSION="2026.07.14.r013" +VERSION="2026.07.14.r014" PKG_DIR="packages" WORK_DIR=".plugin-build" PKG_NAME="${PLUGIN}-${VERSION}.tgz" diff --git a/packages/u-navigator-2026.07.14.r014.tgz b/packages/u-navigator-2026.07.14.r014.tgz new file mode 100644 index 0000000..c543fe8 Binary files /dev/null and b/packages/u-navigator-2026.07.14.r014.tgz differ diff --git a/server/public/app.js b/server/public/app.js index f685c22..1572ecd 100644 --- a/server/public/app.js +++ b/server/public/app.js @@ -119,6 +119,7 @@ function openExplorer(initialPath = state.config?.roots?.[0]?.path) { selectionAnchorPath: null, view: 'icons', treeVisible: true, + treeWidth: 220, treeExpanded: [], treeChildren: {}, treeLoading: [], @@ -317,8 +318,9 @@ function renderExplorer(body, win) { -
Dieser Ordner ist leer. Dateien können hier abgelegt werden.
'; diff --git a/server/public/styles.css b/server/public/styles.css index 7e72627..1d67a41 100644 --- a/server/public/styles.css +++ b/server/public/styles.css @@ -313,7 +313,7 @@ } .u-nav .explorer-layout.with-tree { - grid-template-columns: clamp(180px, 25%, 250px) minmax(0, 1fr); + grid-template-columns: clamp(150px, var(--tree-width, 220px), 55%) 6px minmax(0, 1fr); } .u-nav .explorer-content { @@ -331,6 +331,32 @@ min-width: 0; } +.u-nav .tree-resizer { + background: var(--surface); + border-left: 1px solid transparent; + border-right: 1px solid var(--line); + cursor: ew-resize; + min-height: 0; + position: relative; + touch-action: none; + width: 6px; + z-index: 3; +} + +.u-nav .tree-resizer::after { + background: transparent; + border-radius: 999px; + content: ""; + inset: 8px 1px; + position: absolute; + transition: background-color 140ms ease; +} + +.u-nav .tree-resizer:hover::after, +.u-nav .tree-resizer.active::after { + background: var(--accent); +} + .u-nav .tree-heading { align-items: center; border-bottom: 1px solid var(--line); @@ -398,12 +424,17 @@ color: inherit; display: flex; flex: 1; - gap: 7px; - justify-content: flex-start; + gap: 5px !important; + justify-content: flex-start !important; min-width: 0; overflow: hidden; padding: 0 5px 0 2px; - text-align: left; + text-align: left !important; +} + +.u-nav .tree-label > * { + margin-left: 0 !important; + margin-right: 0 !important; } .u-nav .tree-label:hover, diff --git a/u-navigator.plg b/u-navigator.plg index 6feaf57..1862a86 100644 --- a/u-navigator.plg +++ b/u-navigator.plg @@ -1,7 +1,7 @@ - + @@ -24,7 +24,7 @@