Enhance/pdf minor tweaks (#2598)

* fix(pdf): restrict the max width of pdf viewer

* improve(pdf): change shift key as area highlight shortcut on Win32

* fix(ui): svg component warning

* improve(feat): support go to annotation block within highlight ctx menu

* improve(pdf): resolved #2567

* improve(pdf): resolved #2572

* improve(pdf): polish title display of hls page

* style(pdf): fix container layout

* improve(pdf): restrict minimum width of viewer
This commit is contained in:
Charlie
2021-08-10 21:05:31 +08:00
committed by GitHub
parent 2ddc09601f
commit 1324ce262e
8 changed files with 129 additions and 80 deletions

View File

@@ -469,11 +469,11 @@
}
.extensions__pdf-toolbar {
background: linear-gradient(0deg, rgba(255, 255, 255, 0) 3%, #eee8d5 100%);
background: linear-gradient(0deg, rgba(255, 255, 255, 0) 3%, #eee8d5 100%);
.buttons {
background-color: #f6efdf;
}
.buttons {
background-color: #f6efdf;
}
}
}
}
@@ -505,6 +505,10 @@
display: block;
border: none;
}
.prefix-link > .hl-area {
cursor: alias;
}
}
}
}
@@ -530,10 +534,22 @@
a.prefix-link {
display: inline;
}
.hl-page {
display: inline-flex;
justify-content: space-between;
width: 85%;
> label {
flex: 1;
cursor: text;
}
}
}
.hl-area {
display: block;
cursor: text;
img {
margin: 0;
@@ -544,11 +560,6 @@
}
body[data-page] {
#main-content-container {
margin: 0 !important;
padding: 0 !important;
}
.extensions__pdf-loader {
width: 100%;
}