fixed ellipsis for calendar events (#9823)

Fixed Missing ellipsis for long calendar event names #5267 introducing
width for the title

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Suhotra Dey
2025-01-24 15:03:46 +05:30
committed by GitHub
parent 6af42b9b9b
commit 3c85516f77

View File

@ -70,7 +70,10 @@ const StyledTime = styled.div`
const StyledTitle = styled.div<{ active: boolean; canceled: boolean }>`
flex: 1 0 auto;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: ${({ theme }) => theme.spacing(10)};
${({ theme, active }) =>
active &&
css`