diff --git a/dashboard-ui/addplugin.html b/dashboard-ui/addplugin.html index 15af90ef3..3934fe020 100644 --- a/dashboard-ui/addplugin.html +++ b/dashboard-ui/addplugin.html @@ -70,9 +70,9 @@ - - - + diff --git a/dashboard-ui/css/card.css b/dashboard-ui/css/card.css index d082c513a..be24b79b2 100644 --- a/dashboard-ui/css/card.css +++ b/dashboard-ui/css/card.css @@ -221,6 +221,10 @@ background-size: cover; } +.centeredCardImage { + background-position: center center; +} + .bannerCard { width: 100%; } diff --git a/dashboard-ui/css/images/supporter/registerpaypal.png b/dashboard-ui/css/images/supporter/registerpaypal.png deleted file mode 100644 index e5ecaa863..000000000 Binary files a/dashboard-ui/css/images/supporter/registerpaypal.png and /dev/null differ diff --git a/dashboard-ui/css/search.css b/dashboard-ui/css/search.css index 37017d636..24dc06c0f 100644 --- a/dashboard-ui/css/search.css +++ b/dashboard-ui/css/search.css @@ -187,6 +187,8 @@ bottom: 0; z-index: 1001; border: 0 !important; + overflow-x: hidden; + overflow-y: auto; } .searchResultsContainer { diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 8012e46c5..8bc09e790 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1234,6 +1234,9 @@ if (options.coverImage) { imageCssClass += " coveredCardImage"; } + if (options.centerImage) { + imageCssClass += " centeredCardImage"; + } var dataSrc = ""; diff --git a/dashboard-ui/scripts/search.js b/dashboard-ui/scripts/search.js index b298285fd..9476e545e 100644 --- a/dashboard-ui/scripts/search.js +++ b/dashboard-ui/scripts/search.js @@ -358,6 +358,7 @@ overlayText: false, showTitle: true, coverImage: true, + centerImage: true, textLines: getAdditionalTextLines }); $('.itemsContainer', elem).html(html).lazyChildren(); @@ -418,11 +419,13 @@ if (val) { $('.btnCloseSearch').show(); updateSearchOverlay(getSearchOverlay(true).fadeIn('fast'), val); + $(document.body).addClass('bodyWithPopupOpen'); } else { $('.btnCloseSearch').hide(); updateSearchOverlay(getSearchOverlay(false).fadeOut('fast'), val); + $(document.body).removeClass('bodyWithPopupOpen'); } }