Merge pull request #495 from taigaio/issue/2802/search-page-layout

Fix layout in search page
stable
David Barragán Merino 2015-06-03 14:21:07 +02:00
commit ec0727fc95
2 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,3 @@
figure.avatar div.avatar
img(src!="<%- imgurl %>", alt!="<%- name %>") img(src!="<%- imgurl %>", alt!="<%- name %>")
figcaption <%- name %> span.avatar-caption <%- name %>

View File

@ -87,14 +87,13 @@
img { img {
width: 35px; width: 35px;
} }
figcaption { .avatar-caption {
display: flex; display: block;
flex-basis: 60%;
margin-left: .5rem; margin-left: .5rem;
max-width: 60%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
width: 80px;
} }
} }
} }