ui: fix session name overflow

fixes #353
This commit is contained in:
Jack Pearkes 2014-10-15 16:19:14 -07:00
parent 6b39687351
commit 0f62bed1e5
2 changed files with 12 additions and 1 deletions

View File

@ -24,7 +24,7 @@ Ember.Handlebars.helper('sessionName', function(session) {
if (session.Name === "") {
return session.ID;
} else {
return new Handlebars.SafeString(session.Name + ' <small>' + session.ID + '</small>');
return new Handlebars.SafeString('<span>' + session.Name + '</span>' + ' <small>' + session.ID + '</small>');
}
});

View File

@ -63,7 +63,18 @@
font-size: 15px;
padding-top: 6px;
span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 35%;
float: left;
display:inline-block;
padding-right: 4px;
}
small {
display:inline-block;
padding-right: 8px;
padding-top: 2px;
font-size: 12px;