Skip to content
Open
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
8 changes: 8 additions & 0 deletions app/assets/stylesheets/application.tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,12 @@
.display_block {
display: block;
}

.toc-right-height {
height: calc(100dvh - 10rem);
}

.toc-left-height {
height: calc(100dvh - 6rem);
}
}
2 changes: 1 addition & 1 deletion app/concepts/cell/documentation/toc_left.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="lg:pt-10 lg:pl-5 xl:pl-20 p-10 pl-20 text-white leading-10 space-y-1 h-full overflow-auto">
<div class="lg:pt-10 lg:pl-5 xl:pl-20 p-10 pl-20 text-white leading-10 space-y-1 toc-left-height overflow-y-auto">
<% separator_after = {4 => true, 8 => true}
separator_class = "border-t-[1px] border-t-light-purple"
%>
Expand Down
2 changes: 1 addition & 1 deletion app/concepts/cell/documentation/toc_right.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="display_none bg-white p-5 w-56 shrink-0 text-bg-blue overflow-y-scroll top-22" id="<%= css_id %>">
<div class="display_none bg-white p-5 w-56 shrink-0 text-bg-blue overflow-y-auto top-22 toc-right-height" id="<%= css_id %>">
<h4 class="font-base font-bold leading-10 pl-2">
<%= h2.title %>
</h4>
Expand Down