Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2023-11-24 11:11:22 +01:00
parent 9b62b7c346
commit 57180b2ac5
1 changed files with 2 additions and 2 deletions

View File

@ -6064,12 +6064,12 @@ module.exports = (_ => {
render() {
let isLightTheme = BDFDB.DiscordUtils.getTheme() == BDFDB.disCN.themelight;
return BDFDB.ReactUtils.createElement(Internal.LibraryComponents.Flex, {
className: BDFDB.disCN.pageimagewrapper,
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.pageimagewrapper, this.props.className),
direction: Internal.LibraryComponents.Flex.Direction.VERTICAL,
align: Internal.LibraryComponents.Flex.Align.CENTER,
children: [
BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCNS.pageimage + BDFDB.disCNS.margintop20 + BDFDB.disCN.marginbottom20,
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.pageimage, BDFDB.disCN.margintop20, BDFDB.disCN.marginbottom20, this.props.imageClassName),
style: {
flex: "0 1 auto",
background: `url("${this.props.src || (isLightTheme ? this.props.lightSrc : this.props.darkSrc) || this.props.lightSrc || this.props.darkSrc || (isLightTheme ? "/assets/a72746e7108167af95c8.svg" : "/assets/01864c39871ce619d855.svg")}") center/contain no-repeat`,