[#104] added css to make long title prettier (#111)

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
Camille Moussu
2025-09-15 10:24:37 +02:00
committed by GitHub
parent d76775c7d2
commit d1140a47b2
2 changed files with 16 additions and 1 deletions
+8
View File
@@ -54,6 +54,14 @@ main {
height: 100%;
}
.fc-event-main span,
.fc-daygrid-event div {
display: block !important;
white-space: nowrap !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
}
[data-theme="dark"] .fc-timegrid-slot::after {
border-top: 1px dotted rgba(255, 255, 255, 0.2);
}
+8 -1
View File
@@ -182,7 +182,14 @@ export default function EventPreviewModal({
<CardContent sx={{ pt: 1.5 }}>
{event.title && (
<Typography variant="h6" fontWeight="bold" gutterBottom>
<Typography
variant="h6"
fontWeight="bold"
sx={{
wordBreak: "break-word",
}}
gutterBottom
>
{event.title}
</Typography>
)}