Skip to content

Commit

Permalink
fix(Input/wrapInput): improve styles for required input
Browse files Browse the repository at this point in the history
  • Loading branch information
pvturchik committed May 13, 2024
1 parent 0dd98ce commit 4e618ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/ui/components/forms/Input/wrapInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default function wrapInput (Component, configuration) {
)
= label
if required
Text.required= ' *'
Text.required(part='required')= ' *'
`
const _description = pug`
if description
Expand Down Expand Up @@ -212,7 +212,8 @@ styl`
.required
color $errorColor
font-weight bold
font()
fontFamily('normal', 500)
.errorContainer
margin-top 1u
Expand Down

0 comments on commit 4e618ff

Please sign in to comment.