mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 22:54:48 +00:00
* feat: support dragging the PDF viewer head to move the window, #7187 * Update src/main/frontend/extensions/pdf/pdf.css Co-authored-by: Konstantinos <sprocketc@gmail.com> * Update src/main/frontend/extensions/pdf/pdf.css Co-authored-by: Konstantinos <sprocketc@gmail.com> * Update src/main/frontend/extensions/pdf/pdf.css Co-authored-by: Konstantinos <sprocketc@gmail.com> * Update src/main/frontend/extensions/pdf/pdf.css fix: comment Co-authored-by: Konstantinos <sprocketc@gmail.com> Co-authored-by: Konstantinos <konstantinos@logseq.com>
This commit is contained in:
@@ -56,15 +56,20 @@ input::-webkit-inner-spin-button {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
&-toolbar {
|
||||
&-header {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 20px;
|
||||
width: 90%;
|
||||
height: 42px;
|
||||
z-index: 5;
|
||||
right: 10px; /* Allows clicking on the scrollbar */
|
||||
width: calc(100% - 10px);
|
||||
padding: 8px 20px;
|
||||
padding-right: 0;
|
||||
z-index: 5;
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
&-toolbar {
|
||||
-webkit-app-region: no-drag;
|
||||
|
||||
> .inner {
|
||||
display: flex;
|
||||
@@ -101,7 +106,7 @@ input::-webkit-inner-spin-button {
|
||||
|
||||
> .nu {
|
||||
padding-right: 4px;
|
||||
|
||||
|
||||
input {
|
||||
user-select: inherit;
|
||||
width: 35px;
|
||||
@@ -112,7 +117,7 @@ input::-webkit-inner-spin-button {
|
||||
border: none;
|
||||
background: transparent;
|
||||
font-size: 15px;
|
||||
|
||||
|
||||
&.is-long {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user