@weniatall/dsh-file-viewer 0.3.6 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +3 -3
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -483,14 +483,14 @@ window.__ModuleLoader__.load({
|
|
|
483
483
|
.fv-lang-select{box-sizing:border-box;max-width:132px;height:24px;padding:0 4px;border:1px solid var(--dsw-alias-border-l2);border-radius:6px;background:var(--dsw-alias-bg-layer-1,transparent);color:var(--dsw-alias-label-secondary);font:inherit;font-size:12px;line-height:22px;cursor:pointer}
|
|
484
484
|
.fv-lang-select:hover{color:var(--dsw-alias-label-primary);border-color:var(--dsw-alias-border-l3,var(--dsw-alias-border-l2))}
|
|
485
485
|
.fv-lang-select:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4d6bfe);outline-offset:1px}
|
|
486
|
-
.fv-content{flex:1 1 auto;min-height:0;overflow:auto;padding:12px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
|
|
486
|
+
.fv-content{flex:1 1 auto;min-height:0;overflow:auto;padding:12px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;isolation:isolate}
|
|
487
487
|
.fv-content>*{max-width:100%}
|
|
488
488
|
/* The Markdown outline: a rail pinned to the reading area's trailing edge.
|
|
489
489
|
The wrapper is the positioning context, so the rail stays put while the
|
|
490
490
|
text inside .fv-content scrolls. */
|
|
491
491
|
.fv-content-wrap{position:relative;flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
|
|
492
492
|
.fv-content-wrap>.fv-content{flex:1 1 auto}
|
|
493
|
-
.fv-outline{position:absolute;top:8px;right:8px;z-index:
|
|
493
|
+
.fv-outline{position:absolute;top:8px;right:8px;z-index:10;display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-height:calc(100% - 16px);pointer-events:none}
|
|
494
494
|
.fv-outline>*{pointer-events:auto}
|
|
495
495
|
.fv-outline-toggle{display:inline-grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid var(--dsw-alias-border-l2);border-radius:8px;background:var(--dsw-alias-bg-layer-2,var(--dsw-alias-bg-base,#fff));box-shadow:var(--dsw-shadow-lv2,0 2px 8px rgba(0,0,0,.08));color:var(--dsw-alias-label-secondary);cursor:pointer;flex:none;transition:color .12s,background-color .12s}
|
|
496
496
|
.fv-outline-toggle:hover{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover-solid,var(--dsw-alias-interactive-bg-hover))}
|
|
@@ -677,7 +677,7 @@ window.__ModuleLoader__.load({
|
|
|
677
677
|
.fv-content[data-wrap="on"] div[class*="_line_"]{align-items:flex-start}
|
|
678
678
|
.fv-content[data-wrap="on"] span[class*="_gutter_"]{flex:none;white-space:pre}
|
|
679
679
|
.fv-content[data-wrap="on"] span[class*="_content_"]{min-width:0;flex:1 1 auto;white-space:pre-wrap;overflow-wrap:anywhere}
|
|
680
|
-
.fv-context-backdrop{position:fixed;inset:0;z-index:99;background:transparent;touch-action:none}
|
|
680
|
+
.fv-context-backdrop{position:fixed;inset:0;z-index:99;background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;touch-action:none}
|
|
681
681
|
/* 菜单是实底卡片,不吃主题的毛玻璃。
|
|
682
682
|
玻璃主题(glass.css)里有一条规则,给 [role="menu"] 套上
|
|
683
683
|
background:var(--color-menu) 和 backdrop-filter:blur(...);我们的菜单正好
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weniatall/dsh-file-viewer",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "Workspace file viewer and Git panel for DeepSeek Harness: file tree, syntax-highlighted code, images, PDF, Excel and Word, plus local/remote branches, paged commit history, commit diffs, working-tree changes and changed-file navigation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|