Fix layout in search page

stable
Xavier Julián 2015-06-03 10:49:32 +02:00 committed by David Barragán Merino
parent df53cbd0ac
commit 3798579658
2 changed files with 5 additions and 6 deletions

View File

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

View File

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