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}>
|
<Button variant='single' color='ut-black' icon={CalendarMonthIcon} onClick={saveAsCal}>
|
||||||
Save as .CAL
|
Save as .CAL
|
||||||
</Button>
|
</Button>
|
||||||
|
<Divider orientation='vertical' size='1rem' className='mx-1.25' />
|
||||||
<Button variant='single' color='ut-black' icon={ImageIcon} onClick={() => saveCalAsPng(calendarRef)}>
|
<Button variant='single' color='ut-black' icon={ImageIcon} onClick={() => saveCalAsPng(calendarRef)}>
|
||||||
Save as .PNG
|
Save as .PNG
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user