Skip to content

Commit

Permalink
fix: #639 - selectbox styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Nghia Pham committed Apr 29, 2020
1 parent 5688d6f commit c9699e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/elements/src/components/SelectBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const SelectBox = ({
const hasError = checkError(meta)
const calculatedClassName = (hasError ? 'input is-danger' : 'input is-primary') + ' ' + className
return (
<div className={`field pb-2 ${calculatedClassName}`}>
<div className="field pb-2">
<div className="control">
{labelText && (
<label className={`label ${required ? 'required-label' : ''}`} htmlFor={id}>
Expand Down

0 comments on commit c9699e1

Please sign in to comment.