fix(T2347): Alignment of attachment icon is now consistent row-to-row

Fixes https://phab.nylas.com/T2347. Note that it could still appear indented a bit if a thread has a particularly long timestamp, but should account for all cases.
This commit is contained in:
Ben Gotow 2015-07-30 16:43:44 -07:00
parent 1ff1c4055a
commit 772a18c05d

View file

@ -120,6 +120,9 @@
color: @text-color-very-subtle;
position: relative;
top:2px;
text-align: right;
min-width:70px;
display:inline-block;
}
.unread:not(.focused):not(.selected) {
@ -155,24 +158,25 @@
background-repeat: no-repeat;
background-position:center;
padding:12px;
}
.thread-icon-attachment {
background-image:url(../static/images/thread-list/icon-attachment-@2x.png);
margin-right:-15px;
margin-left:0;
}
.thread-icon-unread {
background-image:url(../static/images/thread-list/icon-unread-@2x.png);
}
.thread-icon-replied {
background-image:url(../static/images/thread-list/icon-replied-@2x.png);
}
.thread-icon-forwarded {
background-image:url(../static/images/thread-list/icon-forwarded-@2x.png);
}
.thread-icon-star {
background-size: 16px;
background-image:url(../static/images/thread-list/icon-star-@2x.png);
&.thread-icon-attachment {
background-image:url(../static/images/thread-list/icon-attachment-@2x.png);
margin-right:0;
margin-left:0;
}
&.thread-icon-unread {
background-image:url(../static/images/thread-list/icon-unread-@2x.png);
}
&.thread-icon-replied {
background-image:url(../static/images/thread-list/icon-replied-@2x.png);
}
&.thread-icon-forwarded {
background-image:url(../static/images/thread-list/icon-forwarded-@2x.png);
}
&.thread-icon-star {
background-size: 16px;
background-image:url(../static/images/thread-list/icon-star-@2x.png);
}
}
.star-button {
font-size: 16px;