better styles for single-line statusbody

This commit is contained in:
Henry Jameson 2026-07-23 13:32:46 +03:00
commit 275fdc67a0
2 changed files with 19 additions and 2 deletions

View file

@ -92,6 +92,23 @@
} }
} }
&.-single-line {
.summary-wrapper {
display: inline-block;
margin: 0;
padding: 0;
border: none;
.summary {
padding: 0;
}
}
.text-wrapper {
display: inline-flex;
}
}
& .tall-status-hider, & .tall-status-hider,
& .tall-subject-hider, & .tall-subject-hider,
& .status-unhider, & .status-unhider,

View file

@ -1,7 +1,7 @@
<template> <template>
<div <div
class="StatusBody" class="StatusBody"
:class="{ '-compact': compact }" :class="{ '-compact': compact, '-single-line': singleLine }"
> >
<div class="body"> <div class="body">
<div <div
@ -36,7 +36,7 @@
</div> </div>
<div <div
class="text-wrapper" class="text-wrapper"
:class="{'-tall-status': hideTallStatus, '-hidden': shouldHide, '-expanded': showingMore}" :class="{'-tall-status': hideTallStatus, '-hidden': shouldHide, '-expanded': showingMore }"
> >
<RichContent <RichContent
v-if="!(singleLine && hasSubject) && !shouldHide" v-if="!(singleLine && hasSubject) && !shouldHide"