Skip to content

Commit 7a4d5de

Browse files
authored
feat: scrollable-right-bar (#58)
1 parent 8e8c677 commit 7a4d5de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ canvas {
156156
background-color: #f1f1f1; /* Light background for the bar */
157157
box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2); /* Left shadow to highlight the bar */
158158
padding: 20px; /* Internal space around content */
159+
overflow-y: auto; /* vertical scroll */
160+
max-height: calc(100vh - 40px);
159161
}
160162

161163
/* Title of the information section in the right bar */

0 commit comments

Comments
 (0)