mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-16 09:00:42 +08:00
This commit is contained in:
parent
f5f24e06cb
commit
ae82c47e85
@ -3131,7 +3131,12 @@ function webViewerClick(evt) {
|
||||
if (!pdfInstance) {
|
||||
return
|
||||
}
|
||||
pdfInstance.pdfViewer.focus();
|
||||
|
||||
// 点击后证快捷键可正常使用,select 也可正常使用 https://github.com/siyuan-note/siyuan/issues/7869
|
||||
if (evt.target.tagName !== "SELECT") {
|
||||
pdfInstance.pdfViewer.focus();
|
||||
}
|
||||
|
||||
if (!pdfInstance.secondaryToolbar?.isOpen) {
|
||||
return;
|
||||
}
|
||||
|
@ -401,12 +401,12 @@
|
||||
.dropdownToolbarButton {
|
||||
--scale-select-width: 140px;
|
||||
width: var(--scale-select-width);
|
||||
margin: 4px 8px 0 0;
|
||||
|
||||
select {
|
||||
width: inherit;
|
||||
min-width: auto;
|
||||
height: 24px;
|
||||
margin: 4px 8px 0 0;
|
||||
line-height: 24px;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user