Scheduling infrastructure for absolutely everyone.
feat: add line clamp class (#7291)
Nafees Nazikdac6bff5b103
diff --git a/apps/web/components/booking/AvailableEventLocations.tsx b/apps/web/components/booking/AvailableEventLocations.tsxindex 16825862c8d..4b9363718fc 100644--- a/apps/web/components/booking/AvailableEventLocations.tsx+++ b/apps/web/components/booking/AvailableEventLocations.tsx@@ -32,7 +32,7 @@ export function AvailableEventLocations({ locations }: { locations: Props["event/>)}<Tooltip content={t(locationKeyToString(location) ?? "")}>- <p className="truncate">{t(locationKeyToString(location) ?? "")}</p>+ <p className="line-clamp-1">{t(locationKeyToString(location) ?? "")}</p></Tooltip></div>);diff --git a/apps/web/components/eventtype/EventSetupTab.tsx b/apps/web/components/eventtype/EventSetupTab.tsxindex e9acf623ff8..d3681d8d3d4 100644--- a/apps/web/components/eventtype/EventSetupTab.tsx+++ b/apps/web/components/eventtype/EventSetupTab.tsx@@ -197,14 +197,14 @@ export const EventSetupTab = (<likey={`${location.type}${index}`}className="mb-2 rounded-md border border-gray-300 py-1.5 px-2">- <div className="flex max-w-full justify-between">- <div key={index} className="flex flex-grow items-center">+ <div className="flex items-center justify-between">+ <div className="flex items-center"><imgsrc={eventLocationType.iconUrl}className="h-4 w-4"alt={`${eventLocationType.label} logo`}/>- <span className="truncate text-sm ltr:ml-1 rtl:mr-1">{eventLabel}</span>+ <span className="line-clamp-1 text-sm ltr:ml-1 rtl:mr-1">{eventLabel}</span></div><div className="flex"><button