Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: sticky collapse icon (#6647)

Aaryan Khandelwaldd11ebf335a9
diff --git a/web/core/components/stickies/sticky/root.tsx b/web/core/components/stickies/sticky/root.tsx
index 7a0957a2b0..170440405e 100644
--- a/web/core/components/stickies/sticky/root.tsx
+++ b/web/core/components/stickies/sticky/root.tsx
@@ -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>
</>
);