mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix date duration label always showed above the input, never to the left
This commit is contained in:
parent
85cc58b32b
commit
e5a88c35f5
@ -875,8 +875,10 @@ export class Et2Date extends Et2InputWidget(FormControlMixin(LitFlatpickr))
|
|||||||
render()
|
render()
|
||||||
{
|
{
|
||||||
return html`
|
return html`
|
||||||
<div class="form-field__group-one">${this._groupOneTemplate()}</div>
|
<div part="form-control" class="form-control">
|
||||||
<div class="form-field__group-two">${this._groupTwoTemplate()}</div>
|
<div class="form-field__group-one" part="form-control-label">${this._groupOneTemplate()}</div>
|
||||||
|
<div class="form-field__group-two" part="form-control-input">${this._groupTwoTemplate()}</div>
|
||||||
|
</div>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -357,6 +357,17 @@ export class Et2DateDuration extends Et2InputWidget(FormControlMixin(LitElement)
|
|||||||
return this.__displayFormat;
|
return this.__displayFormat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
render()
|
||||||
|
{
|
||||||
|
return html`
|
||||||
|
<div part="form-control" class="form-control">
|
||||||
|
<div class="form-field__group-one" part="form-control-label">${this._groupOneTemplate()}</div>
|
||||||
|
<div class="form-field__group-two" part="form-control-input">${this._groupTwoTemplate()}</div>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {TemplateResult}
|
* @return {TemplateResult}
|
||||||
* @protected
|
* @protected
|
||||||
|
Loading…
Reference in New Issue
Block a user