Skip to content
Snippets Groups Projects
Commit f18c88e1 authored by Peter J's avatar Peter J
Browse files

cleanup, variants info buttons out of view fixed

parent c26ed893
No related branches found
No related tags found
No related merge requests found
import { FolderOutlined, ReloadOutlined } from "@ant-design/icons";
import { Button, Col, Divider, Layout, notification, Row, Typography } from "antd";
import { Button, Col, Divider, Layout, Row, Typography } from "antd";
import { Content } from "antd/lib/layout/layout";
import Tree from "antd/lib/tree";
import { FunctionComponent, useEffect, useState } from "react";
import { apiGetLibrary, apiMoveItem } from "../../common/APIUtils";
import { ERR_MSG, Item, ItemType, SUCCESS_MSG } from "../../common/Common";
import { Item, ItemType } from "../../common/Common";
import { useAuth } from "../auth/Auth";
import ItemInfo, { getIconForItemType } from "./items/ItemInfo";
......@@ -244,19 +244,6 @@ const Library: FunctionComponent<LibraryProps> = () => {
<></>
}
</Col>
<Button onClick={() => {
notification.success({
message: SUCCESS_MSG,
description: 'Variants generated!'
});
}}>Good button</Button>
<Button onClick={() => {
notification.error({
message: ERR_MSG,
description: 'There was an error while generating test variants... Please try again.'
});
}}>Bad button</Button>
</Row>
</Content>
</Layout>
......
......@@ -64,7 +64,7 @@ const VariantInfo: FunctionComponent<VariantInfoProps> = (props: VariantInfoProp
points: item.points
}
}) as Array<any>}
scroll={{ y: 600 }}
scroll={{ y: "30vh" }}
pagination={false}
/>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment