UX: Consistent placement of category-title-before plugin outlet ()

This commit is contained in:
tshenry 2019-08-15 16:04:50 -07:00 committed by Sam
parent b4878cde6f
commit 82e07cb0f4
3 changed files with 2 additions and 4 deletions
app/assets
javascripts/discourse/templates/components
stylesheets/mobile

@ -11,10 +11,10 @@
{{/if}} {{/if}}
<h3> <h3>
{{category-title-before category=c}}
{{#if c.read_restricted}} {{#if c.read_restricted}}
{{d-icon 'lock'}} {{d-icon 'lock'}}
{{/if}} {{/if}}
{{category-title-before category=c}}
{{c.name}} {{c.name}}
</h3> </h3>
</a> </a>

@ -1,10 +1,9 @@
{{category-title-before category=category}}
<a class="category-title-link" href={{category.url}}> <a class="category-title-link" href={{category.url}}>
<div class="category-text-title"> <div class="category-text-title">
{{category-title-before category=category}}
{{#if category.read_restricted}} {{#if category.read_restricted}}
{{d-icon 'lock'}} {{d-icon 'lock'}}
{{/if}} {{/if}}
<span class="category-name">{{dir-span category.name}}</span> <span class="category-name">{{dir-span category.name}}</span>
</div> </div>
{{#if category.uploaded_logo.url}} {{#if category.uploaded_logo.url}}

@ -278,7 +278,6 @@ tr.category-topic-link {
h3 { h3 {
max-width: 100%; max-width: 100%;
display: inline-block;
font-size: $font-up-2; font-size: $font-up-2;
padding: 0 0 0 10px; padding: 0 0 0 10px;
.d-icon { .d-icon {