mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 10:15:37 +08:00
UX: Consistent placement of category-title-before plugin outlet (#8010)
This commit is contained in:
parent
b4878cde6f
commit
82e07cb0f4
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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user