fix: set tree container max height to calc(100vh - 144px)

This commit is contained in:
Yourz
2025-12-15 18:50:56 +08:00
parent d0005770aa
commit 19d43ea455

View File

@@ -1,7 +1,7 @@
<template>
<div
ref="treeContainerRef"
class="tree-container overflow-y-auto max-h-[600px]"
class="tree-container overflow-y-auto max-h-[calc(100vh-144px)]"
@scroll="handleTreeScroll"
>
<Tree