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:
Charlie
2022-11-17 20:31:08 +08:00
committed by GitHub
parent a6f6b0abae
commit dd2ef163ba
12 changed files with 208 additions and 115 deletions

View File

@@ -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;