Skip to content

Commit

Permalink
Replace TextTruncator with TextTruncatorCss
Browse files Browse the repository at this point in the history
  • Loading branch information
muditchoudhary committed Sep 18, 2023
1 parent bed1128 commit 8a5b34d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
:layout4="{ span: 3 }"
>
<h1 class="mobile-title" data-test="mobile-title">
<TextTruncator
<TextTruncatorCss
:text="topic.title"
:maxHeight="110"
:maxLines="2"
/>
</h1>
</KGridItem>
Expand All @@ -30,11 +30,11 @@

<script>
import TextTruncator from 'kolibri.coreVue.components.TextTruncator';
import TextTruncatorCss from 'kolibri.coreVue.components.TextTruncatorCss';
export default {
name: 'TopicsMobileHeader',
components: { TextTruncator },
components: { TextTruncatorCss },
props: {
topic: {
type: Object,
Expand Down

0 comments on commit 8a5b34d

Please sign in to comment.