better styles for single-line statusbody
This commit is contained in:
parent
9fc7991808
commit
275fdc67a0
2 changed files with 19 additions and 2 deletions
|
|
@ -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-subject-hider,
|
||||
& .status-unhider,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div
|
||||
class="StatusBody"
|
||||
:class="{ '-compact': compact }"
|
||||
:class="{ '-compact': compact, '-single-line': singleLine }"
|
||||
>
|
||||
<div class="body">
|
||||
<div
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
</div>
|
||||
<div
|
||||
class="text-wrapper"
|
||||
:class="{'-tall-status': hideTallStatus, '-hidden': shouldHide, '-expanded': showingMore}"
|
||||
:class="{'-tall-status': hideTallStatus, '-hidden': shouldHide, '-expanded': showingMore }"
|
||||
>
|
||||
<RichContent
|
||||
v-if="!(singleLine && hasSubject) && !shouldHide"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue