We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c3bc4 commit e5b1162Copy full SHA for e5b1162
components/status/StatusBody.vue
@@ -13,7 +13,7 @@ const {
13
14
const { translation } = useTranslation(status, getLanguageCode())
15
16
-const idealHeight = window.screen.height * 0.6
+const idealHeight = window.screen.height * 0.5
17
const root = ref<HTMLElement | null>(null)
18
const { height } = useElementSize(root)
19
const doCollapseLongStatus = ref(false)
@@ -38,6 +38,7 @@ const vnode = computed(() => {
38
<template>
39
<div
40
ref="root" class="status-body" whitespace-pre-wrap break-words :class="{ 'with-action': withAction }" relative
41
+ max-h-50vh text-overflow-ellipsis overflow-hidden
42
>
43
<span
44
v-if="status.content"
0 commit comments