fix height

This commit is contained in:
Hugo Lextrait 2023-05-11 14:06:28 +02:00
parent 536ef05284
commit c4ee5111d2
3 changed files with 5 additions and 7 deletions

View File

@ -1,6 +1,9 @@
@import "@Themes/constants.scss";
.root {
height: calc(100vh - 290px);
overflow: scroll;
.active {
background-color: var(--grey-medium);
}

View File

@ -26,11 +26,7 @@ class FolderListClass extends React.Component<IPropsClass, IState> {
? Module.getInstance().get().modules.pages.Folder.pages.FolderArchived.pages.FolderInformation.props.path
: Module.getInstance().get().modules.pages.Folder.pages.FolderInformation.props.path;
public override render(): JSX.Element {
return (
<div className={classes["root"]}>
{this.renderFolders()}
</div>
);
return <div className={classes["root"]}>{this.renderFolders()}</div>;
}
private renderFolders(): JSX.Element[] {

View File

@ -1,8 +1,7 @@
@import "@Themes/constants.scss";
.root {
min-height: 100%;
width: 100%;
width: calc(100vh - 83px);
display: flex;
flex-direction: column;
justify-content: space-between;