mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
fix(react/revisions): revision list overflowing when too many
This commit is contained in:
@@ -35,6 +35,7 @@ export default function FormList({ children, onSelect, style, fullHeight }: Form
|
|||||||
const style: CSSProperties = {};
|
const style: CSSProperties = {};
|
||||||
if (fullHeight) {
|
if (fullHeight) {
|
||||||
style.height = "100%";
|
style.height = "100%";
|
||||||
|
style.overflow = "auto";
|
||||||
}
|
}
|
||||||
return style;
|
return style;
|
||||||
}, [ fullHeight ]);
|
}, [ fullHeight ]);
|
||||||
|
|||||||
Reference in New Issue
Block a user