mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 14:44:53 +00:00
Enhance/PDF viewer (#7369)
* fix(pdf): WIP potential memory leaks * enhance(pdf): sync page number in highlights metafile * enhance(pdf): support preview highlight area image in a lightbox * fix: clojurescript unit tests * fix(pdf): page number overflow when more digits
This commit is contained in:
@@ -101,15 +101,21 @@ input::-webkit-inner-spin-button {
|
||||
|
||||
> .nu {
|
||||
padding-right: 4px;
|
||||
|
||||
|
||||
input {
|
||||
user-select: inherit;
|
||||
width: 35px;
|
||||
text-align: right;
|
||||
padding-right: 4px;
|
||||
padding-left: 2px;
|
||||
height: 18px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
font-size: 15px;
|
||||
|
||||
&.is-long {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -841,6 +847,16 @@ input::-webkit-inner-spin-button {
|
||||
overflow: hidden;
|
||||
margin-top: 4px;
|
||||
|
||||
.actions {
|
||||
@apply absolute right-1 top-1 flex opacity-0 transition-opacity;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.actions {
|
||||
@apply opacity-100;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
margin: 0;
|
||||
box-shadow: none;
|
||||
|
||||
Reference in New Issue
Block a user