Skip to content

Commit f260130

Browse files
committed
Fix TOC left and right height
1 parent a411bb2 commit f260130

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/concepts/cell/documentation/toc_left.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<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">
1+
<div class="lg:pt-10 lg:pl-5 xl:pl-20 p-10 pl-20 text-white leading-10 space-y-1 h-[40rem] overflow-y-auto">
22
<% separator_after = {4 => true, 8 => true}
33
separator_class = "border-t-[1px] border-t-light-purple"
44
%>

app/concepts/cell/documentation/toc_right.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="display_none bg-white p-5 w-56 shrink-0 text-bg-blue overflow-y-scroll top-22" id="<%= css_id %>">
1+
<div class="display_none bg-white p-5 w-56 shrink-0 text-bg-blue overflow-y-auto top-22 h-[35rem]" id="<%= css_id %>">
22
<h4 class="font-base font-bold leading-10 pl-2">
33
<%= h2.title %>
44
</h4>

0 commit comments

Comments
 (0)