revert Label change

This commit is contained in:
Peter Holmberg 2018-11-29 14:12:18 +01:00
parent 909fe47050
commit b856ae3957

View File

@ -11,9 +11,7 @@ interface Props {
export const Label: SFC<Props> = props => {
return (
<span
className={`gf-form-label width-${props.width ? props.width : '10'} ${props.className ? props.className : ''}`}
>
<span className={`gf-form-label width-${props.width ? props.width : '10'}`}>
<span>{props.children}</span>
{props.tooltip && (
<Tooltip className="gf-form-help-icon--right-normal" placement="auto" content={props.tooltip}>