From 815b8780e7fab09467cd166d026a27d81525e7cc Mon Sep 17 00:00:00 2001 From: 3gf8jv4dv <3gf8jv4dv@gmail.com> Date: Tue, 17 Dec 2024 14:30:29 +0800 Subject: [PATCH] Optimize sort songs dialog layout --- src/lang/en-us.json | 8 ++++---- .../views/List/MyList/components/ListSortModal.vue | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lang/en-us.json b/src/lang/en-us.json index 8d23864afc..e59102935a 100644 --- a/src/lang/en-us.json +++ b/src/lang/en-us.json @@ -127,14 +127,14 @@ "list_import_tip__playlist_part": "Failed to import. This is a \"Single-list\" file. You need to go here to import: \n\n\"Your Library → Right-click on any list name → Select 'Import' in the menu\"", "list_import_tip__setting": "Failed to import. This is a \"Settings\" backup file. You need to go here to import: \n\n\"Settings → Backup & Restore → Partial Data → Import settings\"", "list_import_tip__unknown": "Failed to import. Unknown file type. Please try to upgrade the app to the latest version and try again.", - "list_sort_modal_by_album": "Album name", + "list_sort_modal_by_album": "Album", "list_sort_modal_by_down": "Descending", "list_sort_modal_by_field": "Sort field", - "list_sort_modal_by_name": "Song name", + "list_sort_modal_by_name": "Title", "list_sort_modal_by_random": "Randomization", - "list_sort_modal_by_singer": "Artist name", + "list_sort_modal_by_singer": "Artist", "list_sort_modal_by_source": "Song source", - "list_sort_modal_by_time": "Duration", + "list_sort_modal_by_time": "Length", "list_sort_modal_by_type": "Sort categories", "list_sort_modal_by_up": "Ascending", "list_sort_modal_tip_confirm": "Are you sure you want to do this?", diff --git a/src/renderer/views/List/MyList/components/ListSortModal.vue b/src/renderer/views/List/MyList/components/ListSortModal.vue index e48fcc7d10..557c853ba7 100644 --- a/src/renderer/views/List/MyList/components/ListSortModal.vue +++ b/src/renderer/views/List/MyList/components/ListSortModal.vue @@ -164,7 +164,7 @@ export default { .main { padding: 0 15px; - width: 320px; + width: 360px; display: flex; flex-flow: column nowrap; min-height: 0; @@ -182,7 +182,7 @@ export default { font-size: 14px; } .listItem { - width: (100% / 3); + width: (100% / 2); padding-left: 10px; margin-bottom: 8px; box-sizing: border-box;