fix: make trusted instance menu scrollable

This commit is contained in:
lesion 2025-01-22 11:24:20 +01:00
parent 3593880b7c
commit d57cb33c76
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -8,8 +8,8 @@ v-footer(aria-label='Footer')
:key='link.label' color='primary' text
:href='link.href' :to='link.to' :target="link.href && '_blank'") {{link.label}}
v-menu(v-if='settings.enable_federation && settings.enable_trusted_instances && trusted_instances?.length'
offset-y bottom open-on-hover transition="slide-y-transition")
v-menu(v-if='settings.enable_federation && settings.enable_trusted_instances && trusted_instances?.length' max-height=550
offset-y bottom transition="slide-y-transition")
template(v-slot:activator="{ on, attrs }")
v-btn.ml-1(v-bind='attrs' v-on='on' color='primary' text) {{ settings.trusted_instances_label || $t('admin.trusted_instances_label_default')}}
v-list(subheaders two-lines max-width=550)