stuff
This commit is contained in:
parent
eb1ed68960
commit
22112b691c
|
@ -5673,7 +5673,7 @@ module.exports = (_ => {
|
|||
}
|
||||
render() {
|
||||
let input = this, preview;
|
||||
return BDFDB.ReactUtils.createElement("div", {
|
||||
return BDFDB.ReactUtils.createElement("div", BDFDB.ObjectUtils.exclude(Object.assign({}, this.props, {
|
||||
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.dateinputwrapper, this.props.className),
|
||||
children: [
|
||||
BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.SettingsLabel, {
|
||||
|
@ -5754,7 +5754,7 @@ module.exports = (_ => {
|
|||
children: [
|
||||
input.props.prefix && BDFDB.ReactUtils.createElement("div", {
|
||||
className: BDFDB.disCN.dateinputpreviewprefix,
|
||||
children: input.props.prefix
|
||||
children: typeof input.props.prefix == "function" ? input.props.prefix(input) : input.props.prefix,
|
||||
}),
|
||||
BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.TextScroller, {
|
||||
children: InternalComponents.LibraryComponents.DateInput.format({
|
||||
|
@ -5770,7 +5770,7 @@ module.exports = (_ => {
|
|||
]
|
||||
})
|
||||
]
|
||||
});
|
||||
}), "onChange", "label", "customString", "dateString", "timeString", "prefix"));
|
||||
}
|
||||
};
|
||||
InternalComponents.LibraryComponents.DateInput.getDefaultString = function () {
|
||||
|
|
|
@ -654,7 +654,7 @@ img:not([src]), img[src=""], img[src="null"] {
|
|||
}
|
||||
[REPLACE_CLASS_dateinputinner] {
|
||||
flex: 1 1 auto;
|
||||
color: rgb(--header-primary);
|
||||
color: var(--header-primary);
|
||||
max-width: calc(100% - 150px);
|
||||
}
|
||||
[REPLACE_CLASS_dateinputcontrols] {
|
||||
|
@ -663,8 +663,10 @@ img:not([src]), img[src=""], img[src="null"] {
|
|||
margin-bottom: 8px;
|
||||
}
|
||||
[REPLACE_CLASS_dateinputpreview] {
|
||||
color: rgb(--header-primary);
|
||||
font-weight: 500;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: var(--header-primary);
|
||||
font-weight: normal;
|
||||
}
|
||||
[REPLACE_CLASS_dateinputpreviewprefix] {
|
||||
margin-right: 6px;
|
||||
|
|
Loading…
Reference in New Issue