commit
ec0727fc95
|
@ -1,3 +1,3 @@
|
||||||
figure.avatar
|
div.avatar
|
||||||
img(src!="<%- imgurl %>", alt!="<%- name %>")
|
img(src!="<%- imgurl %>", alt!="<%- name %>")
|
||||||
figcaption <%- name %>
|
span.avatar-caption <%- name %>
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue