Improved character side list style

This commit is contained in:
Stefan Zermatten
2015-05-12 09:32:40 +02:00
parent 95b7b66390
commit c6b3cad9c8
2 changed files with 12 additions and 4 deletions

View File

@@ -2,10 +2,14 @@
color: black;
color: rgba(0, 0, 0, 0.870588);
cursor: pointer;
font-size: 16px;
height: 40px;
overflow: hidden;
padding: 12px 0 12px 16px;
padding: 8px 0 8px 16px;
text-overflow: ellipsis;
white-space: nowrap;
}
.singleLineItem core-icon {
height: 8px;
margin-right: 8px;
width: 8px;
}

View File

@@ -3,7 +3,11 @@
{{#if characters.count}}
<div>
{{#each characters}}
<div class="singleLineItem characterRepresentative">{{name}}</div>
<div class="singleLineItem characterRepresentative"
layout horizontal center>
<core-icon icon="image:brightness-1"></core-icon>
<div>{{name}}</div>
</div>
{{/each}}
</div>
{{/if}}