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

+2 -2
View File
@@ -27,7 +27,7 @@ function BookingListItem(booking: BookingItem) {
},
{
async onSettled() {
await utils.invalidateQuery(["viewer.bookings"]);
await utils.invalidateQueries(["viewer.bookings"]);
},
}
);
@@ -101,7 +101,7 @@ function BookingListItem(booking: BookingItem) {
{booking.title}
</div>
{booking.description && (
<div className="text-sm text-neutral-600 truncate max-w-60 md:max-w-96">
<div className="text-sm text-neutral-600 truncate max-w-60 md:max-w-96" title={booking.description}>
&quot;{booking.description}&quot;
</div>
)}