Fixed watchers size
parent
5803926cc0
commit
fcfb4bf7e0
|
@ -11,8 +11,7 @@
|
||||||
<% if(watcher) { %>
|
<% if(watcher) { %>
|
||||||
.watcher-single
|
.watcher-single
|
||||||
.watcher-avatar
|
.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
|
.watcher-name
|
||||||
span <%- watcher.full_name_display %>
|
span <%- watcher.full_name_display %>
|
||||||
|
|
||||||
|
@ -20,4 +19,4 @@
|
||||||
a.icon.icon-delete(data-watcher-id!="<%- watcher.id %>" href="" title="delete-watcher")
|
a.icon.icon-delete(data-watcher-id!="<%- watcher.id %>" href="" title="delete-watcher")
|
||||||
<% }; %>
|
<% }; %>
|
||||||
<% } %>
|
<% } %>
|
||||||
<% }); %>
|
<% }); %>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
border-bottom: 1px solid $gray-light;
|
border-bottom: 1px solid $gray-light;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: .5rem;
|
padding: .5rem 0 .3rem;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
&:last-child {
|
&:last-child {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
@ -37,6 +37,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.watcher-avatar {
|
||||||
|
align-items: center;
|
||||||
|
flex-basis: 3rem;
|
||||||
|
max-width: 3rem;
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
.watcher-name {
|
.watcher-name {
|
||||||
@extend %small;
|
@extend %small;
|
||||||
color: $grayer;
|
color: $grayer;
|
||||||
|
@ -44,9 +52,6 @@
|
||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.watcher-avatar {
|
|
||||||
flex: 1 0 0;
|
|
||||||
}
|
|
||||||
.icon-delete {
|
.icon-delete {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in New Issue