Skip to content

Commit

Permalink
feat: fix save as button dividers (#153)
Browse files Browse the repository at this point in the history
* feat: fix save as button dividers

* fix: only show left divider when there are async classes
  • Loading branch information
Samathingamajig authored Mar 13, 2024
1 parent 1d8da65 commit 7986549
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export default function CalendarBottomBar({ courses, calendarRef }: CalendarBott
<Button variant='single' color='ut-black' icon={CalendarMonthIcon} onClick={saveAsCal}>
Save as .CAL
</Button>
<Divider orientation='vertical' size='1rem' className='mx-1.25' />
<Button variant='single' color='ut-black' icon={ImageIcon} onClick={() => saveCalAsPng(calendarRef)}>
Save as .PNG
</Button>
Expand Down

0 comments on commit 7986549

Please sign in to comment.