Skip to content

Commit

Permalink
feat: increase max height for ReaderView and CustomScrollbar to impro…
Browse files Browse the repository at this point in the history
…ve layout
  • Loading branch information
BumpyClock committed Sep 25, 2024
1 parent d9dea36 commit afcc347
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ReaderView/ReaderView.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
border-radius: 40px;
width: 100%;
height: 100%;
max-height: 85vh;
max-height: 95vh;
background-color: var(--background-color);

}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ReaderView/ReaderView.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const ReaderView = ({ url, item, apiUrl, onClose }) => {

<div className="modal-container-content" style={{ height: "100%" }}>
<CustomScrollbar
autoHeightMax={"85vh"}
autoHeightMax={"95vh"}
style={{ height: "100%" }}>
<div
exit="exit"
Expand Down

0 comments on commit afcc347

Please sign in to comment.