FIX: smaller pencil icon for edit tags

Pencil icon should be same size as in edit topic title
This commit is contained in:
Krzysztof Kotlarek 2022-01-04 10:44:39 +01:00 committed by Alan Guo Xiang Tan
parent 5e2e178fcf
commit 719d052ead
2 changed files with 7 additions and 2 deletions

View File

@ -15,9 +15,9 @@
</div>
{{else}}
<div class="tag-name-wrapper">
{{discourse-tag tagInfo.name tagName="div" size="large"}}
{{discourse-tag tagInfo.name tagName="div"}}
{{#if canAdminTag}}
{{d-button action=(action "edit") class="btn-flat edit-tag" title="tagging.edit_tag" icon="pencil-alt" }}
<a href {{action "edit"}} class="edit-tag" title={{i18n "tagging.edit_tag"}}>{{d-icon "pencil-alt"}}</a>
{{/if}}
</div>
<div class="tag-description-wrapper">

View File

@ -369,6 +369,11 @@ section.tag-info {
}
}
}
.edit-tag {
color: var(--primary-high);
font-size: 0.8em;
margin-left: 0.5em;
}
}
.tag-description-wrapper {