@ggboy123/dsh-paper-reader 1.13.0 → 1.13.1
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/README.md +1 -1
- package/lib/client.js +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
**English**: [README_EN.md](README_EN.md)
|
|
9
9
|
|
|
10
|
-
[DeepSeek Harness (dsh)](https://github.com/deepseek-ai/deepseek-harness) 插件:**论文伴读工作台** —— 文献库 + PDF 阅读器 + AI 伴读,回答自带页码、点页码跳回原文。当前版本 **v1.13.
|
|
10
|
+
[DeepSeek Harness (dsh)](https://github.com/deepseek-ai/deepseek-harness) 插件:**论文伴读工作台** —— 文献库 + PDF 阅读器 + AI 伴读,回答自带页码、点页码跳回原文。当前版本 **v1.13.1**。
|
|
11
11
|
|
|
12
12
|
> 💬 **QQ 交流群:1127244508** —— 安装/使用问题、功能建议、bug 反馈都欢迎来聊。
|
|
13
13
|
|
package/lib/client.js
CHANGED
|
@@ -1173,11 +1173,14 @@ window.__ModuleLoader__.load({
|
|
|
1173
1173
|
const S = {
|
|
1174
1174
|
// 侧栏树自己滚动:root 必须是有界 flex 列,head 固定、tree 占满剩余高度并 overflow-y:auto。
|
|
1175
1175
|
// 否则论文一多,整棵树被宿主侧栏 overflow 裁掉,底部条目滚不到也点不到(issue #30-②)。
|
|
1176
|
+
// 注意 flex-basis 必须 auto 不能 0:宿主槽位(桌面端侧栏)不一定给确定高度,
|
|
1177
|
+
// basis:0 在无高父容器里把树塌成 0 高——徽章有数、树整片空白(#32 回归,实测)。
|
|
1178
|
+
// basis:auto 两种环境都对:父高确定→占满并滚动;父高不定→按内容撑开。
|
|
1176
1179
|
root: { padding: '4px 0 8px', fontSize: '13px', color: 'var(--dsw-alias-label-primary, #24292f)', display: 'flex', flexDirection: 'column', height: '100%', maxHeight: '100%', minHeight: 0, overflow: 'hidden', boxSizing: 'border-box' },
|
|
1177
1180
|
head: { display: 'flex', alignItems: 'center', gap: '3px', minHeight: '32px', padding: '3px 8px 5px 12px', fontSize: '12px', fontWeight: 600, color: 'var(--dsw-alias-label-secondary, #656d76)', flex: 'none' },
|
|
1178
1181
|
headTitle: { display: 'flex', alignItems: 'center', gap: '6px', flex: 1, minWidth: 0 },
|
|
1179
1182
|
iconBtn: { width: '24px', height: '24px', flex: 'none', display: 'inline-flex', alignItems: 'center', justifyContent: 'center', cursor: 'pointer', border: 'none', borderRadius: '6px', background: 'none', color: 'inherit', padding: 0 },
|
|
1180
|
-
treeScroll: { flex: '1 1
|
|
1183
|
+
treeScroll: { flex: '1 1 auto', minHeight: 0, overflowY: 'auto', overflowX: 'hidden', overscrollBehavior: 'contain' },
|
|
1181
1184
|
// 页内弹窗(Electron 无 window.prompt)与空库入口按钮
|
|
1182
1185
|
// 主按钮固定蓝底白字:部分深色主题把 button-primary-fill/foreground 同时映射成白色(issue #20)。
|
|
1183
1186
|
btnPrimary: { fontSize: '13px', padding: '5px 14px', borderRadius: '6px', border: 'none', cursor: 'pointer', background: '#1f6feb', color: '#fff' },
|