← All changes
|
js/components/EditMenu/EditorSidebar/EditorSidebar.tsx
+7
-4
3.10.0
→
4.0.0-beta.2
View file →
| @@ -46,12 +46,14 @@ | ||
| 46 | 46 | {isNetworkAdmin() && <MultisiteSharingSettings />} |
| 47 | 47 | |
| 48 | 48 | {isRTL() && <RTLControl />} |
| 49 | 49 | |
| 50 | - <ConditionModalButton setIsDialogOpen={setIsUpgradeDialogOpen} /> | |
| 51 | - <SnippetLocationInput /> | |
| 52 | - <ShortcodeInfo /> | |
| 53 | - <PriorityInput /> | |
| 50 | + <div className="snippet-editor-sidebar-settings"> | |
| 51 | + <ConditionModalButton setIsModalOpen={setIsUpgradeDialogOpen} /> | |
| 52 | + <SnippetLocationInput /> | |
| 53 | + <ShortcodeInfo /> | |
| 54 | + <PriorityInput /> | |
| 55 | + </div> | |
| 54 | 56 | |
| 55 | 57 | {!!snippet.id && ( |
| 56 | 58 | <div className="row-actions visible inline-form-field"> |
| 57 | 59 | <ExportButtons /> |
| @@ -56,8 +58,9 @@ | ||
| 56 | 58 | <div className="row-actions visible inline-form-field"> |
| 57 | 59 | <ExportButtons /> |
| 58 | 60 | |
| 59 | 61 | <Button className="delete-button" onClick={() => void requestDelete()} disabled={isWorking || snippet.locked}> |
| 62 | + <span className="dashicons dashicons-trash" aria-hidden="true" /> | |
| 60 | 63 | {snippet.trashed ? __('Delete Permanently', 'code-snippets') : __('Trash', 'code-snippets')} |
| 61 | 64 | </Button> |
| 62 | 65 | |
| 63 | 66 | <LockControl /> |