stuff
This commit is contained in:
parent
cfb639d9a3
commit
cdebed3d55
|
@ -3470,6 +3470,8 @@
|
|||
BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.ModalComponents.ModalContent, {
|
||||
className: config.contentClassName,
|
||||
scroller: config.scroller,
|
||||
direction: config.direction,
|
||||
content: config.content,
|
||||
children: contentChildren
|
||||
}),
|
||||
footerChildren.length ? BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.ModalComponents.ModalFooter, {
|
||||
|
@ -5696,10 +5698,10 @@
|
|||
messagewrapper: ["MessageBody", "wrapper"],
|
||||
messagezalgo: ["MessageBody", "zalgo"],
|
||||
modal: ["ModalWrap", "modal"],
|
||||
modalclose: [DiscordClassModules.LayerModal.close ? "LayerModal" : "Modal", "close"],
|
||||
modalclose: ["LayerModal", "close"],
|
||||
modalchangelogmodal: ["BDFDB", "changeLogModal"],
|
||||
modalconfirmmodal: ["BDFDB", "confirmModal"],
|
||||
modalcontent: [DiscordClassModules.LayerModal.content ? "LayerModal" : "Modal", "content"],
|
||||
modalcontent: ["LayerModal", "content"],
|
||||
modalfooter: ["Modal", "footer"],
|
||||
modalguildname: ["ModalItems", "guildName"],
|
||||
modalheader: ["Modal", "header"],
|
||||
|
@ -8260,14 +8262,14 @@
|
|||
ref: this.props.scrollerRef,
|
||||
children: this.props.children
|
||||
}) : BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.Flex, {
|
||||
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.modalcontent, BDFDB.disCN.modalnoscroller, this.props.className),
|
||||
direction: InternalComponents.LibraryComponents.Flex.Direction.VERTICAL,
|
||||
className: BDFDB.DOMUtils.formatClassName(this.props.content && BDFDB.disCN.modalcontent, BDFDB.disCN.modalnoscroller, this.props.className),
|
||||
direction: this.props.direction || InternalComponents.LibraryComponents.Flex.Direction.VERTICAL,
|
||||
align: InternalComponents.LibraryComponents.Flex.Align.STRETCH,
|
||||
children: this.props.children
|
||||
});
|
||||
}
|
||||
};
|
||||
InternalBDFDB.setDefaultProps(InternalComponents.LibraryComponents.ModalComponents.ModalContent, {scroller:true});
|
||||
InternalBDFDB.setDefaultProps(InternalComponents.LibraryComponents.ModalComponents.ModalContent, {scroller:true, content:true});
|
||||
|
||||
InternalComponents.LibraryComponents.ModalComponents.ModalTabContent = InternalBDFDB.loadPatchedComp("ModalComponents.ModalTabContent") || reactInitialized && class BDFDB_ModalTabContent extends LibraryModules.React.Component {
|
||||
render() {
|
||||
|
@ -9889,9 +9891,11 @@
|
|||
padding-right: 8px;
|
||||
}
|
||||
${BDFDB.dotCN.modalnoscroller} {
|
||||
padding-bottom: 10px;
|
||||
overflow: visible;
|
||||
}
|
||||
${BDFDB.dotCN.modalcontent + BDFDB.dotCN.modalnoscroller} {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
${BDFDB.dotCN.modaltabcontent} {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue