Fixes custom input overflow (#920)

* Fixes custom input overflow

* Truncates also placeholder

* Adds title attributes in booking notes and event descriptions
This commit is contained in:
Omar López authored and GitHub committed 2021-10-12 18:59:52 +00:00
1 parent 64a01d33ba
commit 4b05c56a0d
4 files changed
+17 -10

No files matched your search

+3 -1
View File
@@ -47,7 +47,9 @@ const EventTypeList = ({ readOnly, types, profile }: Props): JSX.Element => {
)}>
<div className="flex items-center justify-between w-full px-4 py-4 sm:px-6 hover:bg-neutral-50">
<Link href={"/event-types/" + type.id}>
<a className="flex-grow text-sm truncate">
<a
className="flex-grow text-sm truncate"
title={`${type.title} ${type.description ? `– ${type.description}` : ""}`}>
<div>
<span className="font-medium truncate text-neutral-900">{type.title}</span>
{type.hidden && (