Merge pull request #343 from taigaio/issue/2243/tiny-watchers

Fixed watchers size
stable
Juanfran 2015-02-17 05:04:32 -08:00
commit 4e2697ba05
2 changed files with 11 additions and 7 deletions

View File

@ -11,8 +11,7 @@
<% if(watcher) { %>
.watcher-single
.watcher-avatar
span.avatar(title!="<%- watcher.full_name_display %>")
img(src!="<%- watcher.photo %>" alt!="<%- watcher.full_name_display %>")
img(src!="<%- watcher.photo %>" alt!="<%- watcher.full_name_display %>")
.watcher-name
span <%- watcher.full_name_display %>
@ -20,4 +19,4 @@
a.icon.icon-delete(data-watcher-id!="<%- watcher.id %>" href="" title="delete-watcher")
<% }; %>
<% } %>
<% }); %>
<% }); %>

View File

@ -25,7 +25,7 @@
border-bottom: 1px solid $gray-light;
display: flex;
justify-content: center;
padding: .5rem;
padding: .5rem 0 .3rem;
vertical-align: middle;
&:last-child {
border: 0;
@ -37,6 +37,14 @@
}
}
}
.watcher-avatar {
flex-basis: 3rem;
max-width: 3rem;
padding-left: .3rem;
img {
width: 100%;
}
}
.watcher-name {
@extend %small;
color: $grayer;
@ -44,9 +52,6 @@
margin-left: 1rem;
position: relative;
}
.watcher-avatar {
flex: 1 0 0;
}
.icon-delete {
opacity: 0;
position: absolute;