Merge branch 'fixes' into 'main'
Improve actor cards integration See merge request framasoft/mobilizon!1216
This commit is contained in:
@@ -31,7 +31,11 @@
|
||||
</p>
|
||||
<div
|
||||
v-if="full"
|
||||
:class="{ 'line-clamp-3': limit }"
|
||||
class="only-first-child"
|
||||
:class="{
|
||||
'line-clamp-3': limit,
|
||||
'line-clamp-10': !limit,
|
||||
}"
|
||||
v-html="actor.summary"
|
||||
/>
|
||||
</div>
|
||||
@@ -95,3 +99,8 @@ export default class ActorCard extends Vue {
|
||||
displayName = displayName;
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
.only-first-child ::v-deep :not(:first-child) {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user