Skip to content

Commit

Permalink
fix: #639 - selectbox styles (#1108)
Browse files Browse the repository at this point in the history
  • Loading branch information
NghiaPham committed Apr 29, 2020
1 parent 2001628 commit 78e0c00
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 78e0c00

Please sign in to comment.