mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: activity titles are aligned
This commit is contained in:
parent
b3b78b058f
commit
5ff720ab06
1 changed files with 58 additions and 57 deletions
|
|
@ -144,7 +144,7 @@ function ActivityElement(props: ActivitiyElementProps) {
|
|||
className="bg-transparent text-neutral-700 hover:cursor-pointer hover:text-neutral-900"
|
||||
>
|
||||
<Save
|
||||
size={11}
|
||||
size={12}
|
||||
onClick={() => updateActivityName(props.activity.id)}
|
||||
/>
|
||||
</button>
|
||||
|
|
@ -154,13 +154,13 @@ function ActivityElement(props: ActivitiyElementProps) {
|
|||
)}
|
||||
<Pencil
|
||||
onClick={() => setSelectedActivity(props.activity.id)}
|
||||
size={12}
|
||||
className="text-neutral-400 hover:cursor-pointer"
|
||||
className="text-neutral-400 hover:cursor-pointer size-3 min-w-3"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
{/* Edit and View Button */}
|
||||
<div className="flex basis-1/2 justify-end">
|
||||
<div className="flex flex-row space-x-2">
|
||||
<ActivityElementOptions activity={props.activity} />
|
||||
{/* Publishing */}
|
||||
|
|
@ -218,6 +218,7 @@ function ActivityElement(props: ActivitiyElementProps) {
|
|||
></ConfirmationModal>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</Draggable>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue