diff --git a/css/main.css b/css/main.css index 97ec5ea0..c16db590 100644 --- a/css/main.css +++ b/css/main.css @@ -2110,6 +2110,14 @@ opacity: 0.4; } +.bda-slist .bda-footer a { + color: #7289da; +} + +.bda-slist .bda-footer a:hover { + text-decoration: underline; +} + /*BD BLUE*/ .bd-blue .bd-pfbtn { background: #3a71c1; } @@ -2336,4 +2344,5 @@ .bd-blue *[style*="border-color: rgb(114, 137, 218)"] { border-color: #3a71c1 !important; } .bd-blue *[style*="background-color: rgb(114, 137, 218)"] { background-color: #3a71c1 !important; } .bd-blue .bda-slist .bda-footer button {background-color: #3a71c1;} +.bd-blue .bda-slist .bda-footer a {color: #3a71c1;} diff --git a/js/main.js b/js/main.js index de41643b..6401faf4 100644 --- a/js/main.js +++ b/js/main.js @@ -2219,8 +2219,8 @@ class V2C_PluginCard extends BDV2.reactComponent { let author = plugin.getAuthor(); let description = plugin.getDescription(); let version = plugin.getVersion(); - let website = bdplugins[plugin.getName()].website; - let source = bdplugins[plugin.getName()].source; + let website = bdplugins[name].website; + let source = bdplugins[name].source; let { settingsPanel } = this; if (this.state.settings) { @@ -2272,7 +2272,7 @@ class V2C_PluginCard extends BDV2.reactComponent { showSettings() { if (!this.settingsPanel) return; this.setState({'settings': true}); - BDV2.reactDom.findDOMNode(this).scrollIntoView({ + BDV2.reactDom.findDOMNode(this).scrollIntoViewIfNeeded({ behavior: "smooth", // or "auto" or "instant" block: "start" // or "end" });