File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed
web/core/components/stickies/sticky Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -81,23 +81,25 @@ export const StickyNote = observer((props: TProps) => {
8181 >
8282 { /* {isStickiesPage && <StickyItemDragHandle isDragging={false} /> }{" "} */ }
8383 { onClose && (
84- < button type = "button" className = "flex w-full " onClick = { onClose } >
85- < Minimize2 className = "size-4 m-auto mr-0 " />
84+ < button type = "button" className = "flex-shrink-0 flex justify-end p-2.5 " onClick = { onClose } >
85+ < Minimize2 className = "size-4" />
8686 </ button >
8787 ) }
8888 { /* inputs */ }
89- < StickyInput
90- stickyData = { stickyData }
91- workspaceSlug = { workspaceSlug }
92- handleUpdate = { ( payload ) => {
93- handleLayout ?.( ) ;
94- debouncedFormSave ( payload ) ;
95- } }
96- stickyId = { stickyId }
97- handleDelete = { ( ) => setIsDeleteModalOpen ( true ) }
98- handleChange = { handleChange }
99- showToolbar = { showToolbar }
100- />
89+ < div className = "-mt-2" >
90+ < StickyInput
91+ stickyData = { stickyData }
92+ workspaceSlug = { workspaceSlug }
93+ handleUpdate = { ( payload ) => {
94+ handleLayout ?.( ) ;
95+ debouncedFormSave ( payload ) ;
96+ } }
97+ stickyId = { stickyId }
98+ handleDelete = { ( ) => setIsDeleteModalOpen ( true ) }
99+ handleChange = { handleChange }
100+ showToolbar = { showToolbar }
101+ />
102+ </ div >
101103 </ div >
102104 </ >
103105 ) ;
You can’t perform that action at this time.
0 commit comments