fixed leading for labels

pull/7284/head^2
Peer Richelsen 2023-03-15 14:04:55 +01:00
parent f728272c7f
commit 877f72d11a
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ const WithLabel = ({
{field.type !== "boolean" && field.type !== "multiemail" && field.label && ( {field.type !== "boolean" && field.type !== "multiemail" && field.label && (
<div className="mb-2 flex items-center"> <div className="mb-2 flex items-center">
<Label className="!mb-0 flex items-center">{field.label}</Label> <Label className="!mb-0 flex items-center">{field.label}</Label>
<span className="ml-1 -mb-1 text-sm font-medium leading-none dark:text-white"> <span className="ml-1 -mb-1 text-sm font-medium dark:text-white">
{!readOnly && field.required ? "*" : ""} {!readOnly && field.required ? "*" : ""}
</span> </span>
</div> </div>