Skip to content

Commit

Permalink
client: small fix to display of rebooking on material cards
Browse files Browse the repository at this point in the history
  • Loading branch information
wuzzeb committed Nov 6, 2024
1 parent dcb4aca commit cae3912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/insight/src/components/station-monitor/Material.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ function RebookingNoteElipsis({ fsize, uniq }: { fsize?: MatCardFontSize; uniq:
return (
<MatCardDetail
fsize={fsize}
style={{ textOverflow: "ellipsis", overflow: "hidden", whiteSpace: "nowrap", width: "100%" }}
style={{ textOverflow: "ellipsis", overflow: "hidden", whiteSpace: "nowrap", maxWidth: "10em" }}
>
{b.notes}
</MatCardDetail>
Expand Down Expand Up @@ -735,7 +735,7 @@ function RebookingNote() {
if (b && b.notes && b.notes !== "") {
return (
<Typography variant="caption" sx={{ width: "100%", textWrap: "wrap" }}>
Rebooking: {b.notes}
{b.notes}
</Typography>
);
}
Expand Down

0 comments on commit cae3912

Please sign in to comment.