This commit is contained in:
Mirco Wittrien 2020-11-23 21:28:01 +01:00
parent 48a184976f
commit 21e904c08d
2 changed files with 4 additions and 1 deletions

View File

@ -4670,7 +4670,7 @@ module.exports = (_ => {
InternalComponents.LibraryComponents.Card = reactInitialized && class BDFDB_Card extends LibraryModules.React.Component {
render() {
return BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.Flex, BDFDB.ObjectUtils.exclude(Object.assign({}, this.props, {
return BDFDB.ReactUtils.createElement("div", BDFDB.ObjectUtils.exclude(Object.assign({}, this.props, {
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.hovercardwrapper, this.props.backdrop && BDFDB.disCN.hovercard, this.props.className),
onMouseEnter: e => {if (typeof this.props.onMouseEnter == "function") this.props.onMouseEnter(e, this);},
onMouseLeave: e => {if (typeof this.props.onMouseLeave == "function") this.props.onMouseLeave(e, this);},

View File

@ -348,6 +348,9 @@ img:not([src]), img[src=""], img[src="null"] {
[REPLACE_CLASS_hovercardwrapper] {
position: relative;
}
[REPLACE_CLASS_settingspanel] [REPLACE_CLASS_hovercardwrapper] {
width: calc(100% - 20px);
}
[REPLACE_CLASS_hovercardwrapper][REPLACE_CLASS_hovercard] {
padding: 10px 0;
}