remove leading-none (#8232)

This commit is contained in:
Peer Richelsen
2023-04-12 12:15:08 +00:00
committed by GitHub
parent 1d18a09cc8
commit fb9c1b18e0
3 changed files with 3 additions and 5 deletions
@@ -24,9 +24,7 @@ function WorkflowExample(props: WorkflowExampleType) {
</div>
</div>
<div className="m-auto w-full flex-grow items-center justify-center ">
<div className="line-clamp-2 text-semibold text-emphasis w-full text-sm font-medium leading-none">
{text}
</div>
<div className="line-clamp-2 text-semibold text-emphasis w-full text-sm font-medium">{text}</div>
</div>
</div>
</div>
@@ -324,7 +324,7 @@ export const Components: Record<BookingFieldType, Component> = {
<Label>
{options[0].label}
{!readOnly && optionsInputs[options[0].value]?.required ? (
<span className="text-default ml-1 mb-1 text-sm font-medium leading-none">*</span>
<span className="text-default ml-1 mb-1 text-sm font-medium">*</span>
) : null}
</Label>
</>
+1 -1
View File
@@ -54,7 +54,7 @@ export default function FormCard({
<div className="w-full">
<div className="flex items-center justify-between">
<div>
<span className="text-emphasis text-sm font-semibold leading-none">{label}</span>
<span className="text-emphasis text-sm font-semibold">{label}</span>
{badge && (
<Badge className="ml-2" variant={badge.variant}>
{badge.href ? <Link href={badge.href}>{badge.text}</Link> : badge.text}