Skip to content

Commit

Permalink
dev: Allow to limit the size of inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
marien-probesys committed Nov 7, 2023
1 parent c35caec commit da36f4d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions assets/stylesheets/components/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,22 @@ textarea[aria-invalid] {
border-color: var(--color-error11);
}

.input--size1 {
width: 6rem;
}

.input--size2 {
width: 10rem;
}

.input--size3 {
width: 15rem;
}

.input--size4 {
width: 20rem;
}

/**
* Accessible custom checkboxes and radio buttons.
* @see https://www.a11ywithlindsey.com/blog/create-custom-keyboard-accesible-checkboxes
Expand Down

0 comments on commit da36f4d

Please sign in to comment.