mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 14:44:53 +00:00
improve(pdf): load pdf assets to viewer
This commit is contained in:
@@ -44,10 +44,28 @@
|
||||
}
|
||||
}
|
||||
|
||||
&-container {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
&-loader {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
&-toolbar {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 38px;
|
||||
z-index: 5;
|
||||
background: linear-gradient(0deg, rgba(255, 255, 255, 0) 3%, rgba(255, 255, 255, 1) 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
&-viewer {
|
||||
position: absolute;
|
||||
overflow: auto;
|
||||
@@ -152,10 +170,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.Highlight--scrolledTo .hls-text-region-item {
|
||||
background: var(--ph-highlight-scroll-into-color);
|
||||
}
|
||||
}
|
||||
|
||||
.hls-text-region-item {
|
||||
@@ -253,6 +267,10 @@ body.is-pdf-active {
|
||||
#sidebar-nav-wrapper {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#head {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* overrides for pdf_viewer.css from PDF.JS web viewer */
|
||||
|
||||
Reference in New Issue
Block a user