From c1ee4e120eb73b0e0a45c480bceb835af4874f55 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 19 Feb 2025 12:58:21 -0500 Subject: [PATCH] DEV: remove empty outlet wrapper to prevent it from occupying layout space (#31391) The `toggle-summary` class is specific to our use in the AI plugin, so I've moved it there in https://github.com/discourse/discourse-ai/pull/1136... This wrapper was occupying some space even though it was empty in the PM topic map, so it's better to not have it. This also allows us to remove some sub-optimal CSS that was adding a gap based on content within it. Without the empty wrapper, we can always have the gap present. --- .../discourse/app/components/topic-map/index.gjs | 12 +++++------- .../stylesheets/common/components/topic-map.scss | 5 +---- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/topic-map/index.gjs b/app/assets/javascripts/discourse/app/components/topic-map/index.gjs index de23872c883..014141c64f4 100644 --- a/app/assets/javascripts/discourse/app/components/topic-map/index.gjs +++ b/app/assets/javascripts/discourse/app/components/topic-map/index.gjs @@ -17,13 +17,11 @@ const TopicMap =