fix: activity titles are aligned

This commit is contained in:
Chris Holland 2024-10-19 05:56:15 -07:00
parent b3b78b058f
commit 5ff720ab06
No known key found for this signature in database
GPG key ID: 68B0A864B1B0A0D2

View file

@ -144,7 +144,7 @@ function ActivityElement(props: ActivitiyElementProps) {
className="bg-transparent text-neutral-700 hover:cursor-pointer hover:text-neutral-900" className="bg-transparent text-neutral-700 hover:cursor-pointer hover:text-neutral-900"
> >
<Save <Save
size={11} size={12}
onClick={() => updateActivityName(props.activity.id)} onClick={() => updateActivityName(props.activity.id)}
/> />
</button> </button>
@ -154,13 +154,13 @@ function ActivityElement(props: ActivitiyElementProps) {
)} )}
<Pencil <Pencil
onClick={() => setSelectedActivity(props.activity.id)} onClick={() => setSelectedActivity(props.activity.id)}
size={12} className="text-neutral-400 hover:cursor-pointer size-3 min-w-3"
className="text-neutral-400 hover:cursor-pointer"
/> />
</div> </div>
{/* Edit and View Button */} {/* Edit and View Button */}
<div className="flex basis-1/2 justify-end">
<div className="flex flex-row space-x-2"> <div className="flex flex-row space-x-2">
<ActivityElementOptions activity={props.activity} /> <ActivityElementOptions activity={props.activity} />
{/* Publishing */} {/* Publishing */}
@ -218,6 +218,7 @@ function ActivityElement(props: ActivitiyElementProps) {
></ConfirmationModal> ></ConfirmationModal>
</div> </div>
</div> </div>
</div>
)} )}
</Draggable> </Draggable>
) )