mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #306 from lalmanzar/installed_plugin_title_fix
Display ellipsis on the plugin title
This commit is contained in:
commit
bce51d7e41
2 changed files with 15 additions and 1 deletions
|
@ -871,3 +871,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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
})[0];
|
||||
|
||||
if (installedPlugin) {
|
||||
html += plugin.name + " (Installed)";
|
||||
html += "<span class='installedPluginTitle'>"+ plugin.name + "</span> (Installed)";
|
||||
} else {
|
||||
html += plugin.name;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue