diff --git a/src/components/cardbuilder/card.css b/src/components/cardbuilder/card.css index b6fdf7cb2..99a8526d9 100644 --- a/src/components/cardbuilder/card.css +++ b/src/components/cardbuilder/card.css @@ -174,6 +174,7 @@ button::-moz-focus-inner { .cardScalable .cardImageContainer { height: 100%; + width: 100%; contain: strict; } diff --git a/src/controllers/dashboard/plugins/available/index.js b/src/controllers/dashboard/plugins/available/index.js index ecbc4dac9..179d4f71b 100644 --- a/src/controllers/dashboard/plugins/available/index.js +++ b/src/controllers/dashboard/plugins/available/index.js @@ -1,6 +1,7 @@ import loading from '../../../../components/loading/loading'; import libraryMenu from '../../../../scripts/libraryMenu'; import globalize from '../../../../scripts/globalize'; +import * as cardBuilder from '../../../../components/cardbuilder/cardBuilder.js'; import '../../../../components/cardbuilder/card.css'; import '../../../../elements/emby-button/emby-button'; import '../../../../elements/emby-checkbox/emby-checkbox'; @@ -102,10 +103,12 @@ function getPluginHtml(plugin, options, installedPlugins) { html += '
'; html += '
'; html += '
'; - html += ''; - html += ''; + html += `'; + html += '
'; html += '
'; html += "
"; html += plugin.name; diff --git a/src/controllers/dashboard/plugins/installed/index.js b/src/controllers/dashboard/plugins/installed/index.js index 76249abf6..aa1032d57 100644 --- a/src/controllers/dashboard/plugins/installed/index.js +++ b/src/controllers/dashboard/plugins/installed/index.js @@ -2,6 +2,7 @@ import loading from '../../../../components/loading/loading'; import libraryMenu from '../../../../scripts/libraryMenu'; import dom from '../../../../scripts/dom'; import globalize from '../../../../scripts/globalize'; +import * as cardBuilder from '../../../../components/cardbuilder/cardBuilder.js'; import '../../../../components/cardbuilder/card.css'; import '../../../../elements/emby-button/emby-button'; import Dashboard, { pageIdOn } from '../../../../scripts/clientUtils'; @@ -59,16 +60,21 @@ function getPluginCardHtml(plugin, pluginConfigurationPages) { html += '