fix: event-title-overflow (#24693)
* fix: event-title-overflow * fix: title overflow in multiple components * fix: title overflow in readonly component
This commit is contained in:
1 parent
7f6136004c
commit
959b803d84
4 files changed
+7
-5
No files matched your search
@@ -12,7 +12,9 @@ interface EventTitleProps {
|
||||
export const EventTitle = ({ children, as, className }: EventTitleProps) => {
|
||||
const El = as || "h1";
|
||||
return (
|
||||
<El data-testid="event-title" className={classNames("text-text text-xl font-semibold", className)}>
|
||||
<El
|
||||
data-testid="event-title"
|
||||
className={classNames("text-text break-words text-xl font-semibold", className)}>
|
||||
{children}
|
||||
</El>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user