Skip to content

Commit

Permalink
Merge pull request #188 from Enterprise-CMCS/tigertwo
Browse files Browse the repository at this point in the history
fix(webforms): Layout fixes before QA
  • Loading branch information
charmcitygavin authored Nov 8, 2023
2 parents c549866 + b4e5225 commit de8f363
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/services/ui/src/components/Inputs/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const FormLabel = React.forwardRef<
return (
<Label
ref={ref}
className={cn(error && "text-destructive", "font-bold", className)}
className={cn(error && "text-destructive", className)}
htmlFor={formItemId}
{...props}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/services/ui/src/components/Inputs/label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { cva, type VariantProps } from "class-variance-authority";
import { cn } from "@/lib/utils";

const labelVariants = cva(
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
"text-base leading-normal peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
);

const Label = React.forwardRef<
Expand Down
2 changes: 1 addition & 1 deletion src/services/ui/src/components/RHF/Document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const RHFDocument = <TFieldValues extends FieldValues>(props: {
<div>
<div className="h-[5px] bg-gradient-to-r from-primary from-50% to-[#02bfe7] to-[66%] rounded-t"></div>
<div className="py-4 px-8 border-2 border-t-0 mt-0">
<div className="my-5">
<div className="mb-3 mt-9">
<FormLabel className="font-bold text-4xl px-8 font-serif">
{props.document.header}
</FormLabel>
Expand Down

0 comments on commit de8f363

Please sign in to comment.