diff --git a/assets/javascripts/discourse/components/ai-topic-gist.gjs b/assets/javascripts/discourse/components/ai-topic-gist.gjs index 53f780f5..30548fcb 100644 --- a/assets/javascripts/discourse/components/ai-topic-gist.gjs +++ b/assets/javascripts/discourse/components/ai-topic-gist.gjs @@ -25,12 +25,14 @@ export default class AiTopicGist extends Component { {{#if this.shouldShow}} {{#if this.hasGist}}
-
{{this.gist}}
+
{{this.gist}}
{{else}} {{#if this.esacpedExceprt}}
-
{{htmlSafe this.escapedExceprt}}
+
+ {{htmlSafe this.escapedExceprt}} +
{{/if}} {{/if}} diff --git a/assets/stylesheets/modules/summarization/common/ai-gists.scss b/assets/stylesheets/modules/summarization/common/ai-gists.scss index fa2afb53..8c1381e8 100644 --- a/assets/stylesheets/modules/summarization/common/ai-gists.scss +++ b/assets/stylesheets/modules/summarization/common/ai-gists.scss @@ -39,7 +39,9 @@ line-height: var(--line-height-large); margin-top: 0.15em; margin-bottom: 0.15em; - max-width: 70ch; + &__contents { + max-width: 70ch; + } } &:not(.visited) { .excerpt {