Skip to content

A platform for community discussion. Free, open, simple.

DEV: remove empty outlet wrapper to prevent it from occupying layout space (#31391)

Krisc1ee4e120eb7
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 = <template>
/>
</section>
- <section class="topic-map__additional-contents toggle-summary">
- <PluginOutlet
- @name="topic-map-expanded-after"
- @defaultGlimmer={{true}}
- @outletArgs={{hash topic=@model postStream=@postStream}}
- />
- </section>
+ <PluginOutlet
+ @name="topic-map-expanded-after"
+ @defaultGlimmer={{true}}
+ @outletArgs={{hash topic=@model postStream=@postStream}}
+ />
{{#if @showPMMap}}
<section class="topic-map__private-message-map">
diff --git a/app/assets/stylesheets/common/components/topic-map.scss b/app/assets/stylesheets/common/components/topic-map.scss
index f6517c37bd0..d21d74b2a3c 100644
--- a/app/assets/stylesheets/common/components/topic-map.scss
+++ b/app/assets/stylesheets/common/components/topic-map.scss
@@ -24,10 +24,7 @@ body:not(.archetype-private_message) {
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
-
- &:has(.topic-map__additional-contents *) {
- column-gap: 0.75em;
- }
+ column-gap: 0.75em;
}
}