This commit is contained in:
Mirco Wittrien 2020-01-17 22:03:45 +01:00
parent eef2ecf616
commit 646f4240fc
2 changed files with 16 additions and 14 deletions

View File

@ -6739,7 +6739,7 @@
typeof this.props.children == "string" ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextElement, { typeof this.props.children == "string" ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextElement, {
className: BDFDB.disCN.hovercardinner, className: BDFDB.disCN.hovercardinner,
color: BDFDB.LibraryComponents.TextElement.Colors.PRIMARY, color: BDFDB.LibraryComponents.TextElement.Colors.PRIMARY,
children: this.props.children children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextScroller, {children: this.props.children})
}) : this.props.children }) : this.props.children
].flat(10).filter(n => n) ].flat(10).filter(n => n)
}), "backdrop", "noRemove")); }), "backdrop", "noRemove"));
@ -7707,6 +7707,7 @@
LibraryComponents.SettingsPanelInner = BDFDB.ReactUtils.getValue(window.BDFDB, "LibraryComponents.SettingsPanelInner") || reactInitialized && class BDFDB_SettingsPanelInner extends LibraryModules.React.Component { LibraryComponents.SettingsPanelInner = BDFDB.ReactUtils.getValue(window.BDFDB, "LibraryComponents.SettingsPanelInner") || reactInitialized && class BDFDB_SettingsPanelInner extends LibraryModules.React.Component {
render() { render() {
return this.props.children ? BDFDB.ReactUtils.createElement(LibraryComponents.Flex, { return this.props.children ? BDFDB.ReactUtils.createElement(LibraryComponents.Flex, {
className: this.props.className,
direction: LibraryComponents.Flex.Direction.VERTICAL, direction: LibraryComponents.Flex.Direction.VERTICAL,
children: [ children: [
!this.props.first ? BDFDB.ReactUtils.createElement(LibraryComponents.FormComponents.FormDivider, { !this.props.first ? BDFDB.ReactUtils.createElement(LibraryComponents.FormComponents.FormDivider, {
@ -8353,15 +8354,25 @@
color: ${BDFDB.DiscordConstants.Colors.STATUS_RED}; color: ${BDFDB.DiscordConstants.Colors.STATUS_RED};
} }
${BDFDB.dotCNC.hovercardwrapper + BDFDB.dotCN.hovercardinner} {
min-height: 28px;
}
${BDFDB.dotCN.hovercardinner} {
width: 100%;
padding-right: 5px;
display: flex;
align-items: center;
z-index: 1;
}
${BDFDB.dotCNS.hovercardwrapper + BDFDB.dotCN.hovercardbutton} { ${BDFDB.dotCNS.hovercardwrapper + BDFDB.dotCN.hovercardbutton} {
position: absolute; position: absolute;
top: -6px; top: -6px;
right: -6px; right: -6px;
opacity: 0; opacity: 0;
} }
${BDFDB.dotCNS.hovercardwrapper + BDFDB.dotCN.hovercard + BDFDB.dotCN.hovercardbutton} { ${BDFDB.dotCN.hovercardwrapper + BDFDB.dotCNS.hovercard + BDFDB.dotCN.hovercardbutton} {
right: -31px; right: -25px;
top: -12px;
} }
${BDFDB.dotCN.hovercardwrapper}:hover ${BDFDB.dotCN.hovercardbutton} { ${BDFDB.dotCN.hovercardwrapper}:hover ${BDFDB.dotCN.hovercardbutton} {
opacity: 1; opacity: 1;
@ -8532,15 +8543,6 @@
width: 30px; width: 30px;
} }
${BDFDB.dotCNC.hovercardwrapper + BDFDB.dotCN.hovercardinner} {
min-height: 28px;
}
${BDFDB.dotCN.hovercardinner} {
display: flex;
align-items: center;
z-index: 1;
}
${BDFDB.dotCN.guildupperleftbadge} { ${BDFDB.dotCN.guildupperleftbadge} {
top: 0; top: 0;
} }

File diff suppressed because one or more lines are too long