ui: fix session name overflow

fixes #353
pull/404/head
Jack Pearkes 10 years ago
parent cc8c3bbd98
commit d24764dd83

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

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

Loading…
Cancel
Save