From 0aa27894370fc91496d707e0beeb3e433c97cc1a Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 23 Oct 2024 15:10:41 -0400 Subject: [PATCH] UX: switch gist outlet to avoid badges (#855) --- .../ai-topic-gist.gjs | 0 .../modules/summarization/common/ai-summary.scss | 13 ++++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) rename assets/javascripts/discourse/connectors/{topic-list-after-title => topic-list-before-category}/ai-topic-gist.gjs (100%) diff --git a/assets/javascripts/discourse/connectors/topic-list-after-title/ai-topic-gist.gjs b/assets/javascripts/discourse/connectors/topic-list-before-category/ai-topic-gist.gjs similarity index 100% rename from assets/javascripts/discourse/connectors/topic-list-after-title/ai-topic-gist.gjs rename to assets/javascripts/discourse/connectors/topic-list-before-category/ai-topic-gist.gjs diff --git a/assets/stylesheets/modules/summarization/common/ai-summary.scss b/assets/stylesheets/modules/summarization/common/ai-summary.scss index 3aa95193..efd232a3 100644 --- a/assets/stylesheets/modules/summarization/common/ai-summary.scss +++ b/assets/stylesheets/modules/summarization/common/ai-summary.scss @@ -217,13 +217,20 @@ } .ai-topic-gist { - margin-bottom: 0.25em; - + .mobile-view & { + position: relative; + top: -0.33em; + line-height: 1.4; + } + .desktop-view & { + margin-top: 0.15em; + margin-bottom: -0.15em; + } &__text { color: var(--primary-high); text-wrap: pretty; word-wrap: break-word; - font-size: var(--font-down-2); + font-size: var(--font-down-1); .visited & { color: var(--primary-medium); }