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"; @import "@Themes/constants.scss";
.root { .root {
height: calc(100vh - 290px);
overflow: scroll;
.active { .active {
background-color: var(--grey-medium); 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.FolderArchived.pages.FolderInformation.props.path
: Module.getInstance().get().modules.pages.Folder.pages.FolderInformation.props.path; : Module.getInstance().get().modules.pages.Folder.pages.FolderInformation.props.path;
public override render(): JSX.Element { public override render(): JSX.Element {
return ( return <div className={classes["root"]}>{this.renderFolders()}</div>;
<div className={classes["root"]}>
{this.renderFolders()}
</div>
);
} }
private renderFolders(): JSX.Element[] { private renderFolders(): JSX.Element[] {

View File

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