增加pdf中划句或段ai伴读功能

This commit is contained in:
yhy
2026-08-29 23:07:19 +08:00
parent 1475f8b3c5
commit 0ed8f42029
22 changed files with 2045 additions and 15 deletions
+21
View File
@@ -14,6 +14,27 @@
min-height: 0 !important;
}
collapsible-section.chatpapers-adaptive-height[open] {
--open-height: auto;
}
collapsible-section.chatpapers-adaptive-height[open] > :not(.head) .chatpapers-pane-body {
max-height: none;
overflow: visible;
}
collapsible-section.chatpapers-fixed-height[open] > :not(.head) .chatpapers-pane-body {
overflow-y: auto;
}
#chatpapers-window-chat-root,
#chatpapers-window-lecture-root {
display: flex;
flex-direction: column;
min-height: 0;
box-sizing: border-box;
}
collapsible-section:not([open]) > :not(.head) .chatpapers-root,
collapsible-section:not([open]) > :not(.head) .chatpapers-lecture-root {
min-height: 0 !important;
+4
View File
@@ -4,6 +4,10 @@ prefs-title = ChatPapers
item-section-chat-head = ChatPapers
item-section-chat-sidenav = Chat with paper
item-pane-open-window = Open in separate window
item-pane-adaptive-height = Adaptive height
item-pane-adaptive-height-on = Adaptive height (on)
item-pane-adaptive-height-off = Adaptive height (off)
chat-loading = Loading ChatPapers…
chat-placeholder = Ask a question about this paper…
+4
View File
@@ -4,6 +4,10 @@ prefs-title = ChatPapers
item-section-chat-head = ChatPapers
item-section-chat-sidenav = 论文对话
item-pane-open-window = 在独立窗口中打开
item-pane-adaptive-height = 自适应高度
item-pane-adaptive-height-on = 自适应高度(已开启)
item-pane-adaptive-height-off = 自适应高度(已关闭)
chat-loading = 正在加载 ChatPapers…
chat-placeholder = 就这篇论文提问…
+2
View File
@@ -20,3 +20,5 @@ pref("lectureTeacherStyle", "balanced");
pref("mineruPath", "");
pref("piperPath", "");
pref("piperModelPath", "");
pref("chatPaneAdaptiveHeight", true);
pref("lecturePaneAdaptiveHeight", true);