Peter Holmberg 7 лет назад
Родитель
Сommit
b856ae3957
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      public/app/core/components/Label/Label.tsx

+ 1 - 3
public/app/core/components/Label/Label.tsx

@@ -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}>