mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-29 14:25:45 +03:00
Limit file tree height to max content size
- can still be resized, just not bigger than the full file list
This commit is contained in:
parent
7541d65fab
commit
f4239ca5f2
@ -391,9 +391,9 @@
|
||||
<div
|
||||
bind:this={thViewport}
|
||||
style:height={`${treeHeight}px`}
|
||||
class="hide-native-scrollbar relative shrink-0 overflow-scroll overscroll-none"
|
||||
class="hide-native-scrollbar relative max-h-fit shrink-0 overflow-scroll overscroll-none"
|
||||
>
|
||||
<div bind:this={thContents} class="px-2">
|
||||
<div bind:this={thContents} class="px-2 pb-2">
|
||||
<FileTree node={filesToFileTree(files)} isRoot={true} />
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user