feat: fix save as button dividers (#153)
* feat: fix save as button dividers * fix: only show left divider when there are async classes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user