diff --git a/extensions/tags/js/src/forum/components/TagsPage.js b/extensions/tags/js/src/forum/components/TagsPage.js old mode 100644 new mode 100755 index a4ceabf5e..1c90ba9bd --- a/extensions/tags/js/src/forum/components/TagsPage.js +++ b/extensions/tags/js/src/forum/components/TagsPage.js @@ -4,6 +4,7 @@ import Link from 'flarum/components/Link'; import listItems from 'flarum/helpers/listItems'; import humanTime from 'flarum/helpers/humanTime'; +import tagIcon from '../../common/helpers/tagIcon'; import tagLabel from '../../common/helpers/tagLabel'; import sortTags from '../../common/utils/sortTags'; @@ -38,6 +39,7 @@ export default class TagsPage extends Page {
  • + {tag.icon() && tagIcon(tag, {}, { useColor: false })}

    {tag.name()}

    {tag.description()}

    {children diff --git a/extensions/tags/less/forum/TagTiles.less b/extensions/tags/less/forum/TagTiles.less old mode 100644 new mode 100755 index 1d8b52de3..5886ab543 --- a/extensions/tags/less/forum/TagTiles.less +++ b/extensions/tags/less/forum/TagTiles.less @@ -86,6 +86,11 @@ &:hover { background: fade(#000, 5%); } + .icon { + font-size: 24px; + float: left; + margin-right: 10px; + } } .TagTile-name { font-size: 18px;