Skip to content

Commit

Permalink
added new certificate bulk btn
Browse files Browse the repository at this point in the history
  • Loading branch information
TharindaPrabhath committed Oct 22, 2021
1 parent 185b468 commit 115eb47
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 13 deletions.
7 changes: 4 additions & 3 deletions src/screens/Certificate.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
gap: 1em;
}

.top .right-col__new-certificate-btn{
.top .right-col__new-certificate-btn-group{
display: none;
}

Expand All @@ -34,7 +34,8 @@
display: none;
}

.top .right-col__new-certificate-btn{
display: initial;
.top .right-col__new-certificate-btn-group{
display: flex;
gap: 1em;
}
}
27 changes: 17 additions & 10 deletions src/screens/Certificate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ const Certificate = () => {
<Link to="certificate/new">New Certificate</Link>
</MenuItem>
<MenuItem button>
<Link to="certificate/new">Certificate Bulk</Link>
<Link to="certificate/new-certificate-bulk">
Certificate Bulk
</Link>
</MenuItem>
</MenuList>
</ClickAwayListener>
Expand All @@ -94,15 +96,20 @@ const Certificate = () => {
)}
</Popper>
</div>
<Link
to="certificate/new"
className="right-col__new-certificate-btn"
>
<Button className={buttonStyles.standardBtn}>
<AddIcon />
New Certificate
</Button>
</Link>
<div className="right-col__new-certificate-btn-group">
<Link to="certificate/new-certificate-bulk">
<Button className={buttonStyles.standardBtn}>
<AddIcon />
Certificate Bulk
</Button>
</Link>
<Link to="certificate/new">
<Button className={buttonStyles.standardBtn}>
<AddIcon />
New Certificate
</Button>
</Link>
</div>
</div>
</div>

Expand Down

0 comments on commit 115eb47

Please sign in to comment.