mirror of
https://github.com/makeplane/plane.git
synced 2026-01-29 01:38:53 -06:00
fix: sticky collapse icon (#6647)
This commit is contained in:
committed by
GitHub
parent
0c35e196be
commit
dd11ebf335
@@ -81,23 +81,25 @@ export const StickyNote = observer((props: TProps) => {
|
||||
>
|
||||
{/* {isStickiesPage && <StickyItemDragHandle isDragging={false} />}{" "} */}
|
||||
{onClose && (
|
||||
<button type="button" className="flex w-full" onClick={onClose}>
|
||||
<Minimize2 className="size-4 m-auto mr-0" />
|
||||
<button type="button" className="flex-shrink-0 flex justify-end p-2.5" onClick={onClose}>
|
||||
<Minimize2 className="size-4" />
|
||||
</button>
|
||||
)}
|
||||
{/* inputs */}
|
||||
<StickyInput
|
||||
stickyData={stickyData}
|
||||
workspaceSlug={workspaceSlug}
|
||||
handleUpdate={(payload) => {
|
||||
handleLayout?.();
|
||||
debouncedFormSave(payload);
|
||||
}}
|
||||
stickyId={stickyId}
|
||||
handleDelete={() => setIsDeleteModalOpen(true)}
|
||||
handleChange={handleChange}
|
||||
showToolbar={showToolbar}
|
||||
/>
|
||||
<div className="-mt-2">
|
||||
<StickyInput
|
||||
stickyData={stickyData}
|
||||
workspaceSlug={workspaceSlug}
|
||||
handleUpdate={(payload) => {
|
||||
handleLayout?.();
|
||||
debouncedFormSave(payload);
|
||||
}}
|
||||
stickyId={stickyId}
|
||||
handleDelete={() => setIsDeleteModalOpen(true)}
|
||||
handleChange={handleChange}
|
||||
showToolbar={showToolbar}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user