From 5c2ace41b1b7f401b0613d2210992e165b1bf04b Mon Sep 17 00:00:00 2001 From: 3gf8jv4dv <3gf8jv4dv@gmail.com> Date: Mon, 23 Dec 2024 00:30:16 +0800 Subject: [PATCH 1/2] Fix change music source dialog layout --- .../views/List/MusicList/components/MusicToggleModal.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/views/List/MusicList/components/MusicToggleModal.vue b/src/renderer/views/List/MusicList/components/MusicToggleModal.vue index 49051fd15a..0701e66482 100644 --- a/src/renderer/views/List/MusicList/components/MusicToggleModal.vue +++ b/src/renderer/views/List/MusicList/components/MusicToggleModal.vue @@ -165,8 +165,8 @@ export default { .main { padding: 10px 7px 0; - width: 560px; - // min-width: 280px; + // width: 560px; + min-width: 280px; display: flex; flex-flow: column nowrap; min-height: 0; @@ -180,7 +180,7 @@ export default { .list { flex: auto; - min-height: 200px; + min-height: 100px; min-width: 460px; // background-color: @color-search-form-background; font-size: 13px; From ef8baff38cc23259a0182d5462ed8efb849fb373 Mon Sep 17 00:00:00 2001 From: 3gf8jv4dv <3gf8jv4dv@gmail.com> Date: Tue, 24 Dec 2024 13:31:55 +0800 Subject: [PATCH 2/2] Apply suggestions from lyswhut Co-authored-by: lyswhut --- .../views/List/MusicList/components/MusicToggleModal.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/renderer/views/List/MusicList/components/MusicToggleModal.vue b/src/renderer/views/List/MusicList/components/MusicToggleModal.vue index 0701e66482..b294aadbf7 100644 --- a/src/renderer/views/List/MusicList/components/MusicToggleModal.vue +++ b/src/renderer/views/List/MusicList/components/MusicToggleModal.vue @@ -165,8 +165,10 @@ export default { .main { padding: 10px 7px 0; - // width: 560px; - min-width: 280px; + width: 560px; + max-width: 100%; + box-sizing: border-box; + // min-width: 280px; display: flex; flex-flow: column nowrap; min-height: 0;