Skip to content

Commit

Permalink
Fix music api management dialog layout (#2247)
Browse files Browse the repository at this point in the history
  • Loading branch information
3gf8jv4dv authored Feb 8, 2025
1 parent 271c1bc commit 1f8df84
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/renderer/views/Setting/components/UserApiModal.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template lang="pug">
material-modal(:show="modelValue" bg-close teleport="#view" @close="handleClose")
main(:class="$style.main")
main.scroll(:class="$style.main")
h2 {{ $t('user_api__title') }}
ul.scroll(v-if="apiList.length" :class="$style.content")
li(v-for="(api, index) in apiList" :key="api.id" :class="[$style.listItem, {[$style.active]: appSetting['common.apiSource'] == api.id}]")
Expand Down Expand Up @@ -131,7 +131,6 @@ export default {
min-width: 300px;
display: flex;
flex-flow: column nowrap;
justify-content: center;
min-height: 0;
// max-height: 100%;
// overflow: hidden;
Expand All @@ -155,7 +154,7 @@ export default {
.content {
flex: auto;
min-height: 100px;
min-height: 80px;
max-height: 100%;
margin-top: 15px;
padding: 0 7px;
Expand Down

0 comments on commit 1f8df84

Please sign in to comment.