diff --git a/services/budadmin/src/components/ui/bud/dataEntry/TextArea.tsx b/services/budadmin/src/components/ui/bud/dataEntry/TextArea.tsx index bff4a63ad..06632da64 100644 --- a/services/budadmin/src/components/ui/bud/dataEntry/TextArea.tsx +++ b/services/budadmin/src/components/ui/bud/dataEntry/TextArea.tsx @@ -32,6 +32,7 @@ function TextAreaInput(props: BudInputProps) { text={props.label} content={props.info} required={props.required} + classNames="textarea-info-label" /> } > diff --git a/services/budadmin/src/styles/globals.scss b/services/budadmin/src/styles/globals.scss index 50dec1008..defc0bcc4 100644 --- a/services/budadmin/src/styles/globals.scss +++ b/services/budadmin/src/styles/globals.scss @@ -1469,7 +1469,7 @@ textArea { } .label { - top: -10px; + top: -8px; display: block; font-weight: 300; position: absolute; @@ -1480,10 +1480,16 @@ textArea { padding: 0 4px; font-size: .75rem; z-index: 1111; + line-height: 1; + + .textarea-info-label { + height: auto !important; + background: var(--color-background) !important; + } } .ant-input { - padding: 0.75rem 1rem; + padding: 0.875rem 1rem; background: transparent !important; font-size: 0.75rem; }