Small improvements

This commit is contained in:
ITQ
2024-04-03 01:41:52 +03:00
parent 1764490d74
commit bee2e66cb4
2 changed files with 6 additions and 8 deletions
@@ -64,11 +64,8 @@ const SkillTree = () => {
onSubmit={(event) => { onSubmit={(event) => {
addEvent(event); addEvent(event);
toast({ toast({
title: "Scheduled: Catch up ", title: "Event created!",
description: "Friday, February 10, 2023 at 5:57 PM", description: `Event ${event.title} created successfully!`,
action: (
<ToastAction altText="Goto schedule to undo">Undo</ToastAction>
),
}); });
}} }}
> >
@@ -104,7 +101,7 @@ const SkillTree = () => {
</form> </form>
</div> </div>
<div className={less["right"]}> <div className={less["right"]}>
{events.map((event) => ( {/* {events.map((event) => (
<Card className={`${less["card"]} flex flex-row `}> <Card className={`${less["card"]} flex flex-row `}>
<div className="flex flex-col"> <div className="flex flex-col">
<CardHeader className={less["header"]}> <CardHeader className={less["header"]}>
@@ -129,8 +126,9 @@ const SkillTree = () => {
</Button> </Button>
</div> </div>
</Card> </Card>
))} ))} */}
</div> </div>
<div className="shadow"></div>
</div> </div>
); );
}; };
@@ -9,7 +9,7 @@
.header_no_index { .header_no_index {
width: 100%; width: 100%;
z-index: 999; z-index: 10;
position: fixed; position: fixed;
width: 100%; width: 100%;
top: 0; top: 0;