Skip to content

Commit 2990c25

Browse files
committed
fix: 内容可能超过屏幕范围
1 parent 8cb8173 commit 2990c25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • MaiChartManager/Front/src/components/ChangelogModal

MaiChartManager/Front/src/components/ChangelogModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default defineComponent({
5151
title={`${t('about.changelogTitle')} - v${changelogTargetVersion.value}`}
5252
v-model:show={showChangelogModal.value}
5353
>
54-
<div class={style.mdContent}>
54+
<div class={[style.mdContent, 'cst of-y-auto of-x-hidden max-h-[80vh]']}>
5555
{changelogContent.value
5656
? <VueMarkdownIt source={changelogContent.value} />
5757
: <div class="text-center py-4 op-60">{t('common.loading')}</div>

0 commit comments

Comments
 (0)