Minor style fix for calendar card.

This commit is contained in:
kamre 2022-01-23 00:04:10 +03:00
parent 76401862cc
commit f8995351c9
2 changed files with 10 additions and 1 deletions

View file

@ -120,7 +120,10 @@ const CalendarFullView = (props: Props): JSX.Element|null => {
const renderEventContent = (eventProps: EventContentArg): JSX.Element|null => {
const {event} = eventProps
return (
<div onClick={() => props.showCard(event.id)}>
<div
className='EventContent'
onClick={() => props.showCard(event.id)}
>
<div className='octo-icontitle'>
{ event.extendedProps.icon ? <div className='octo-icon'>{event.extendedProps.icon}</div> : undefined }
<div

View file

@ -13,6 +13,12 @@
}
}
.EventContent {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.octo-tooltip {
display: flex;
max-width: 100%;