improved style when overflow

This commit is contained in:
Quentin Roussel
2024-03-29 13:42:48 +01:00
parent a303440544
commit ed2e324a45
5 changed files with 25 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ const reorder = (list, startIndex, endIndex) => {
};
function TeamListItem({ team, index, onSelected, itemSelected }) {
const classNames = 'w-full p-3 m-3 shadow ' + (itemSelected ? "bg-blue-400" : "bg-gray-100");
const classNames = 'w-full p-3 my-3 shadow ' + (itemSelected ? "bg-blue-400" : "bg-gray-100");
return (
<Draggable draggableId={team.id.toString()} index={index} onClick={() => onSelected(team.id)}>
{provided => (