Jelajahi Sumber

revert Label change

Peter Holmberg 7 tahun lalu
induk
melakukan
b856ae3957
1 mengubah file dengan 1 tambahan dan 3 penghapusan
  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 => {
 export const Label: SFC<Props> = props => {
   return (
   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>
       <span>{props.children}</span>
       {props.tooltip && (
       {props.tooltip && (
         <Tooltip className="gf-form-help-icon--right-normal" placement="auto" content={props.tooltip}>
         <Tooltip className="gf-form-help-icon--right-normal" placement="auto" content={props.tooltip}>