mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-05 15:11:48 +01:00
This commit is contained in:
parent
d349f897c9
commit
4d6bdd8624
3 changed files with 8 additions and 3 deletions
|
|
@ -118,7 +118,7 @@ export class Asset extends Model {
|
|||
</div>
|
||||
</div>
|
||||
<div id="sidebarResizer"></div>
|
||||
</div> <!-- sidebarContainer -->
|
||||
</div>
|
||||
<div id="mainContainer">
|
||||
<div class="findbar b3-menu fn__hidden doorHanger" id="findbar">
|
||||
<input id="findInput" class="toolbarField b3-text-field" placeholder="${window.siyuan.languages.search}" tabindex="91">
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ class PDFSidebarResizer {
|
|||
* @private
|
||||
*/
|
||||
_mouseMove(evt) {
|
||||
let width = evt.clientX;
|
||||
let width = evt.clientX - this.outerContainer.getBoundingClientRect().left;
|
||||
// For sidebar resizing to work correctly in RTL mode, invert the width.
|
||||
if (this.isRTL) {
|
||||
width = this.outerContainerWidth - width;
|
||||
|
|
|
|||
|
|
@ -224,10 +224,15 @@
|
|||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 0;
|
||||
width: 1px;
|
||||
z-index: 200;
|
||||
cursor: ew-resize;
|
||||
right: -6px;
|
||||
background-color: var(--b3-border-color);
|
||||
|
||||
&:hover {
|
||||
background-color: var(--b3-scroll-color);
|
||||
}
|
||||
}
|
||||
|
||||
#loadingBar {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue