fixed overflow bug on long booking items

This commit is contained in:
Peer Richelsen 2021-07-30 11:53:21 +02:00
parent d8533b3a5e
commit 062b92be29

View file

@ -81,7 +81,7 @@ export default function Bookings({ bookings }) {
</td> </td>
<td <td
className={ className={
"px-6 py-4 whitespace-nowrap" + (booking.rejected ? " line-through" : "") "px-6 py-4 max-w-20 w-full" + (booking.rejected ? " line-through" : "")
}> }>
<div className="text-sm text-gray-900">{booking.title}</div> <div className="text-sm text-gray-900">{booking.title}</div>
<div className="text-sm text-gray-500">{booking.description}</div> <div className="text-sm text-gray-500">{booking.description}</div>