display ellipsis only on the title

This commit is contained in:
Luis Miguel Almánzar 2013-05-24 21:56:33 -04:00
parent 94ae0c4d3d
commit af39b369cb
2 changed files with 15 additions and 1 deletions

View File

@ -866,3 +866,17 @@ input[type="range"]::-ms-fill-upper {
width: 50px;
}
}
.installedPluginTitle {
max-width: 85px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display: inline-block;
}
@media (min-width: 1200px) {
.installedPluginTitle {
max-width: 110px;
}
}

View File

@ -62,7 +62,7 @@
})[0];
if (installedPlugin) {
html += plugin.name + " (Installed)";
html += "<span class='installedPluginTitle'>"+ plugin.name + "</span> (Installed)";
} else {
html += plugin.name;
}