show two lines of text for feed entries
This commit is contained in:
parent
d2cf675569
commit
779b5ef257
@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||||||
<MkTime :time="note.createdAt" :class="$style.headerTime" colored/>
|
<MkTime :time="note.createdAt" :class="$style.headerTime" colored/>
|
||||||
</header>
|
</header>
|
||||||
<div>
|
<div>
|
||||||
<Mfm :class="$style.text" :text="getNoteSummary(note)" :isBlock="false" :plain="true" :nowrap="true" :isNote="true" :author="note.user"/>
|
<Mfm :class="$style.text" :text="getNoteSummary(note)" :isBlock="false" :plain="true" :nowrap="false" :isNote="true" :author="note.user"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -49,8 +49,7 @@ defineEmits<{
|
|||||||
}
|
}
|
||||||
|
|
||||||
.head {
|
.head {
|
||||||
position: sticky;
|
align-self: center;
|
||||||
top: 0;
|
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
width: 42px;
|
width: 42px;
|
||||||
height: 42px;
|
height: 42px;
|
||||||
@ -92,6 +91,8 @@ defineEmits<{
|
|||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
|
line-height: 1.25em;
|
||||||
|
height: 2.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@container (max-width: 600px) {
|
@container (max-width: 600px) {
|
||||||
|
Loading…
Reference in New Issue
Block a user