A platform for community discussion. Free, open, simple.
FIX: tag revisions need an empty wrapper (#31938)
Krisedb675811011
diff --git a/app/assets/javascripts/discourse/app/components/modal/history/revisions.gjs b/app/assets/javascripts/discourse/app/components/modal/history/revisions.gjsindex 03362fb2e2a..cbb9debe917 100644--- a/app/assets/javascripts/discourse/app/components/modal/history/revisions.gjs+++ b/app/assets/javascripts/discourse/app/components/modal/history/revisions.gjs@@ -100,19 +100,23 @@ export default class Revisions extends Component {{{/if}}{{#if @model.tags_changes}}<div class="row -tag-revisions">- {{discourseTags- this.fakePreviousTagsTopic- tagClasses=this.previousTagClassesMap- }}+ <span class="tag-revision__wrapper">+ {{discourseTags+ this.fakePreviousTagsTopic+ tagClasses=this.previousTagClassesMap+ }}+ </span>{{#if (or @mobileView (eq @viewMode "inline"))}}→ {{/if}}- {{discourseTags- this.fakeCurrentTagsTopic- tagClasses=this.currentTagClassesMap- }}+ <span class="tag-revision__wrapper">+ {{discourseTags+ this.fakeCurrentTagsTopic+ tagClasses=this.currentTagClassesMap+ }}+ </span></div>{{/if}}{{#if @model.featured_link_changes}}diff --git a/app/assets/stylesheets/common/base/history.scss b/app/assets/stylesheets/common/base/history.scssindex 3423d75aaa8..63f064206df 100644--- a/app/assets/stylesheets/common/base/history.scss+++ b/app/assets/stylesheets/common/base/history.scss@@ -111,7 +111,7 @@}&:not(.--mode-inline) {- .-tag-revisions .discourse-tags {+ .-tag-revisions .tag-revision__wrapper {flex: 0 1 50%;min-width: 0;align-self: start;