fix: url truncate properly in the input field on diff screen sizes (#24700)
This commit is contained in:
1 parent
2907c5e696
commit
f63d705523
2 files changed
+4
-4
No files matched your search
@@ -64,7 +64,7 @@ export default function CreateEventTypeForm({
|
||||
required
|
||||
addOnLeading={
|
||||
!isPlatform ? (
|
||||
<span className="max-w-24 md:max-w-56">
|
||||
<span className="max-w-24 md:max-w-56 inline-block overflow-hidden text-ellipsis whitespace-nowrap min-w-0">
|
||||
{`/${!isManagedEventType ? pageSlug : t("username_placeholder")}/`}
|
||||
</span>
|
||||
) : undefined
|
||||
@@ -90,7 +90,7 @@ export default function CreateEventTypeForm({
|
||||
!isPlatform ? (
|
||||
<Tooltip
|
||||
content={`${urlPrefix}/${!isManagedEventType ? pageSlug : t("username_placeholder")}/`}>
|
||||
<span className="max-w-24 md:max-w-56">
|
||||
<span className="max-w-24 md:max-w-56 inline-block overflow-hidden text-ellipsis whitespace-nowrap min-w-0">
|
||||
{`${urlPrefix}/${!isManagedEventType ? pageSlug : t("username_placeholder")}/`}
|
||||
</span>
|
||||
</Tooltip>
|
||||
|
||||
@@ -169,7 +169,7 @@ export const EventSetupTab = (
|
||||
className={classNames("pl-0", customClassNames?.titleSection?.urlInput?.input)}
|
||||
addOnLeading={
|
||||
isPlatform ? undefined : (
|
||||
<>
|
||||
<span className="max-w-24 md:max-w-56 inline-block overflow-hidden text-ellipsis whitespace-nowrap min-w-0">
|
||||
{urlPrefix}/
|
||||
{!isManagedEventType
|
||||
? team
|
||||
@@ -177,7 +177,7 @@ export const EventSetupTab = (
|
||||
: formMethods.getValues("users")[0].username
|
||||
: t("username_placeholder")}
|
||||
/
|
||||
</>
|
||||
</span>
|
||||
)
|
||||
}
|
||||
{...formMethods.register("slug", {
|
||||
|
||||
Reference in new issue
Block a user