Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
SuttonKyle committed Mar 20, 2024
2 parents ed0435e + 467b866 commit 309d80e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const renderPDF = async (containerDiv: Element, documentUrl: string) => {
pageNumberInput.className = 'page-number-input';
pageNumberInput.type = 'number';
const pageDiv = document.createElement('div');
pageDiv.className = 'page-label';
const outOfDiv = document.createElement('div');
const pageCountDiv = document.createElement('div');
const nextButton = document.createElement('button');
Expand Down
7 changes: 7 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ div.document-viewer-ts.viewer-container {
z-index: 999;
}

.page-label {
display: none;
@media (min-width: 36em) {
display: flex;
}
}

.document-viewer-ts .viewer-controls:hover {
opacity: 1;
}
Expand Down

0 comments on commit 309d80e

Please sign in to comment.