Glyph wasn't wrapping properly with long categories
This commit is contained in:
parent
be63b08c36
commit
b832c3d885
|
@ -1,11 +1,12 @@
|
|||
{{category-title-before category=category}}
|
||||
<a class="category-title-link" href={{category.url}}>
|
||||
<div class="category-text-title">
|
||||
{{#if category.read_restricted}}
|
||||
{{d-icon 'lock'}}
|
||||
{{/if}}
|
||||
|
||||
<span class="category-name">{{dir-span category.name}}</span>
|
||||
|
||||
</div>
|
||||
{{#if category.uploaded_logo.url}}
|
||||
<div>{{cdn-img src=category.uploaded_logo.url class="category-logo"}}</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
.category-list {
|
||||
table-layout: fixed;
|
||||
.category-text-title {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
}
|
||||
.category-name {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
|
|
Loading…
Reference in New Issue