Skip to content

Commit

Permalink
Fix: index should always fill view height
Browse files Browse the repository at this point in the history
  • Loading branch information
rg-wood committed Jun 16, 2024
1 parent 7118b04 commit 4398766
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vellum-doc",
"version": "0.5.0",
"version": "0.5.1",
"description": "A simple document web component for web publishing",
"main": "vellum-doc.js",
"module": "vellum-doc.js",
Expand Down
3 changes: 3 additions & 0 deletions src/vellum-doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,17 @@ export class VellumDocument extends LitElement {
.scrollable {
width: var(--index-width, var(--default-index-width));
min-height: 100vh;
max-height: 100vh;
position: fixed;
top: 0;
overflow-y: auto;
}
#index {
min-height: 100vh;
border-right: 1px solid;
padding-bottom: 1em;
}
@media (max-width: 700px) {
Expand Down

0 comments on commit 4398766

Please sign in to comment.