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"
|
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>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue