diff --git a/about.json b/about.json index bce1c6a..9d070aa 100755 --- a/about.json +++ b/about.json @@ -1,6 +1,6 @@ { - "name": "discourse-tag-banners", + "name": "Tag Banners", "component": true, - "about_url": "", - "license_url": "" + "about_url": "https://meta.discourse.org/t/tag-banners/124240", + "license_url": "https://github.com/discourse/discourse-tag-banners/blob/main/LICENSE" } diff --git a/common/common.scss b/common/common.scss index 14e97dc..cd8e6d6 100644 --- a/common/common.scss +++ b/common/common.scss @@ -4,10 +4,9 @@ width: 100%; justify-content: center; background: var(--primary-very-low); - min-height: 10em; // prevents hop when tag name loads .tag-title-contents { - max-width: 700px; + max-width: 46em; padding: 3.5em 3em 3em; @media screen and (max-width: 450px) { diff --git a/javascripts/discourse/components/discourse-tag-banners.hbs b/javascripts/discourse/components/discourse-tag-banners.hbs new file mode 100644 index 0000000..1ae4157 --- /dev/null +++ b/javascripts/discourse/components/discourse-tag-banners.hbs @@ -0,0 +1,30 @@ +{{#if (not (and this.site.mobileView (not (theme-setting "show_on_mobile"))))}} + {{#if this.shouldRender}} +
{{this.tag.description}}
+ {{/if}} + {{/unless}} +