Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions doorstop/core/files/templates/html/doorstop.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
.caption {
text-align: center;
font-size:15px;
}
}

#img {width: 100%}
#img {width: 100%}

.contents-menu {
max-height: 85vh;
overflow-y: scroll;
}
2 changes: 1 addition & 1 deletion doorstop/views/doorstop.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Contents
</a>
<ul class="dropdown-menu">
<ul class="dropdown-menu contents-menu">
% old_depth = 0
% for item in toc:
% if item['depth'] > old_depth:
Expand Down