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:
parent
6497b5a4c9
commit
cb579524df
2 changed files with 13 additions and 1 deletions
|
@ -33,6 +33,10 @@
|
|||
background-color: #999;
|
||||
}
|
||||
|
||||
.borderlessPosterItem {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.posterItemText {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
|
@ -165,6 +169,14 @@
|
|||
.portraitPosterItem .posterItemImage {
|
||||
height: 162px;
|
||||
}
|
||||
|
||||
.smallBackdropPosterItem {
|
||||
width: 192px;
|
||||
}
|
||||
|
||||
.smallBackdropPosterItem .posterItemImage {
|
||||
height: 108px;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 1440px) {
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
var html = '';
|
||||
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) {
|
||||
html += '<div class="posterItemImage" style="background-image:url(\'' + plugin.thumbImage + '\');"></div>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue