mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 15:36:49 +08:00
修复通知列表的溢出问题
This commit is contained in:
@@ -89,7 +89,7 @@ onBeforeUnmount(() => {
|
|||||||
</VCardItem>
|
</VCardItem>
|
||||||
<VDivider />
|
<VDivider />
|
||||||
<div class="notification-list-container">
|
<div class="notification-list-container">
|
||||||
<div v-if="notificationList.length > 0" class="h-full overflow-y-auto">
|
<div v-if="notificationList.length > 0">
|
||||||
<VListItem v-for="(item, i) in notificationList" :key="i" lines="two" class="mb-1">
|
<VListItem v-for="(item, i) in notificationList" :key="i" lines="two" class="mb-1">
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<VAvatar rounded>
|
<VAvatar rounded>
|
||||||
@@ -122,7 +122,7 @@ onBeforeUnmount(() => {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.notification-list-container {
|
.notification-list-container {
|
||||||
overflow: hidden;
|
|
||||||
max-block-size: 50vh;
|
max-block-size: 50vh;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user