1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

#204 - Plugin catalog tile margin

This commit is contained in:
Luke Pulverenti 2013-05-04 09:29:44 -04:00
parent 6497b5a4c9
commit cb579524df
2 changed files with 13 additions and 1 deletions

View file

@ -33,6 +33,10 @@
background-color: #999; background-color: #999;
} }
.borderlessPosterItem {
border: 0;
}
.posterItemText { .posterItemText {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
@ -165,6 +169,14 @@
.portraitPosterItem .posterItemImage { .portraitPosterItem .posterItemImage {
height: 162px; height: 162px;
} }
.smallBackdropPosterItem {
width: 192px;
}
.smallBackdropPosterItem .posterItemImage {
height: 108px;
}
} }
@media all and (min-width: 1440px) { @media all and (min-width: 1440px) {

View file

@ -37,7 +37,7 @@
var html = ''; var html = '';
var plugin = availablePlugins[i]; var plugin = availablePlugins[i];
html += "<a style='border:0;' class='posterItem backdropPosterItem transparentPosterItem' href='addPlugin.html?name=" + encodeURIComponent(plugin.name) + "'>"; html += "<a class='posterItem smallBackdropPosterItem transparentPosterItem borderlessPosterItem' href='addPlugin.html?name=" + encodeURIComponent(plugin.name) + "'>";
if (plugin.thumbImage) { if (plugin.thumbImage) {
html += '<div class="posterItemImage" style="background-image:url(\'' + plugin.thumbImage + '\');"></div>'; html += '<div class="posterItemImage" style="background-image:url(\'' + plugin.thumbImage + '\');"></div>';