Browse Source

ui: fix session name overflow

fixes #353
pull/404/head
Jack Pearkes 10 years ago
parent
commit
d24764dd83
  1. 2
      ui/javascripts/app/helpers.js
  2. 11
      ui/styles/_lists.scss

2
ui/javascripts/app/helpers.js

@ -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>');
}
});

11
ui/styles/_lists.scss

@ -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;

Loading…
Cancel
Save