Fix music api management dialog layout (#2247)
parent
271c1bcd51
commit
1f8df84b87
|
@ -1,6 +1,6 @@
|
||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
material-modal(:show="modelValue" bg-close teleport="#view" @close="handleClose")
|
material-modal(:show="modelValue" bg-close teleport="#view" @close="handleClose")
|
||||||
main(:class="$style.main")
|
main.scroll(:class="$style.main")
|
||||||
h2 {{ $t('user_api__title') }}
|
h2 {{ $t('user_api__title') }}
|
||||||
ul.scroll(v-if="apiList.length" :class="$style.content")
|
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}]")
|
li(v-for="(api, index) in apiList" :key="api.id" :class="[$style.listItem, {[$style.active]: appSetting['common.apiSource'] == api.id}]")
|
||||||
|
@ -131,7 +131,6 @@ export default {
|
||||||
min-width: 300px;
|
min-width: 300px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: column nowrap;
|
flex-flow: column nowrap;
|
||||||
justify-content: center;
|
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
// max-height: 100%;
|
// max-height: 100%;
|
||||||
// overflow: hidden;
|
// overflow: hidden;
|
||||||
|
@ -155,7 +154,7 @@ export default {
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
flex: auto;
|
flex: auto;
|
||||||
min-height: 100px;
|
min-height: 80px;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
padding: 0 7px;
|
padding: 0 7px;
|
||||||
|
|
Loading…
Reference in New Issue