Skip to content

Commit cb33d7e

Browse files
committed
Fix vertical scrolling in split view on small screens. #90
1 parent 4d1ec95 commit cb33d7e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

trailbase-assets/js/admin/src/components/SplitView.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,11 @@ export function SplitView(props: {
4444
}) {
4545
function VerticalSplit() {
4646
return (
47-
<div class="flex flex-col overflow-hidden">
48-
<props.first horizontal={false} />
47+
<div class="hide-scrollbars flex h-full flex-col overflow-x-hidden overflow-y-scroll">
48+
<div>
49+
<props.first horizontal={false} />
50+
</div>
51+
4952
<props.second horizontal={false} />
5053
</div>
5154
);

0 commit comments

Comments
 (0)