mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-16 17:10:53 +08:00
This commit is contained in:
parent
f5f24e06cb
commit
ae82c47e85
@ -3131,7 +3131,12 @@ function webViewerClick(evt) {
|
|||||||
if (!pdfInstance) {
|
if (!pdfInstance) {
|
||||||
return
|
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) {
|
if (!pdfInstance.secondaryToolbar?.isOpen) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -401,12 +401,12 @@
|
|||||||
.dropdownToolbarButton {
|
.dropdownToolbarButton {
|
||||||
--scale-select-width: 140px;
|
--scale-select-width: 140px;
|
||||||
width: var(--scale-select-width);
|
width: var(--scale-select-width);
|
||||||
|
margin: 4px 8px 0 0;
|
||||||
|
|
||||||
select {
|
select {
|
||||||
width: inherit;
|
width: inherit;
|
||||||
min-width: auto;
|
min-width: auto;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
margin: 4px 8px 0 0;
|
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user