Browse Source

83073 three dot button order

Mao 4 years ago
parent
commit
983c2f0b86
1 changed files with 3 additions and 3 deletions
  1. 3 3
      packages/app/src/components/SearchPage/SearchResultListItem.tsx

+ 3 - 3
packages/app/src/components/SearchPage/SearchResultListItem.tsx

@@ -53,9 +53,6 @@ const PageItemControl: FC<PageItemControlProps> = (props: PageItemControlProps)
           TODO: add function to the following buttons like using modal or others
           ref: https://estoc.weseek.co.jp/redmine/issues/79026
         */}
-        <button className="dropdown-item text-danger" type="button" onClick={deleteButtonHandler}>
-          <i className="icon-fw icon-fire"></i>{t('Delete')}
-        </button>
         <button className="dropdown-item" type="button" onClick={() => toastr.warning(t('search_result.currently_not_implemented'))}>
           <i className="icon-fw icon-star"></i>{t('Add to bookmark')}
         </button>
@@ -65,6 +62,9 @@ const PageItemControl: FC<PageItemControlProps> = (props: PageItemControlProps)
         <button className="dropdown-item" type="button" onClick={() => toastr.warning(t('search_result.currently_not_implemented'))}>
           <i className="icon-fw  icon-action-redo"></i>{t('Move/Rename')}
         </button>
+        <button className="dropdown-item text-danger border-top pt-2" type="button" onClick={deleteButtonHandler}>
+          <i className="icon-fw icon-fire"></i>{t('Delete')}
+        </button>
       </div>
     </>
   );