Skip to content

Commit

Permalink
fix(Forms): correct font-size of non-clickable Form.Upload item
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Dec 23, 2024
1 parent 421d98d commit df6c03e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ export const UploadFileLink = (props: UploadFileLinkProps) => {
const { onClick, text, href, download, ...rest } = props

if (!onClick && !href) {
return <Span {...rest}>{text}</Span>
return (
<Span className="dnb-p" {...rest}>
{text}
</Span>
)
}

if (onClick) {
Expand Down

0 comments on commit df6c03e

Please sign in to comment.