fix height
This commit is contained in:
parent
536ef05284
commit
c4ee5111d2
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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[] {
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user