From c68d0173df7fdb69d0b924be3d2c2b863061847c Mon Sep 17 00:00:00 2001 From: Rodrigo Antinarelli Date: Thu, 13 Feb 2020 20:15:04 -0300 Subject: [PATCH] WIP Label --- platform/ui/src/components/Label/Label.jsx | 12 +++++------- platform/ui/src/components/Label/Label.mdx | 4 +++- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/platform/ui/src/components/Label/Label.jsx b/platform/ui/src/components/Label/Label.jsx index 7721a8b96..dd23dfc38 100644 --- a/platform/ui/src/components/Label/Label.jsx +++ b/platform/ui/src/components/Label/Label.jsx @@ -2,7 +2,7 @@ import React from 'react'; import t from 'prop-types'; const Label = ({ children, spacing, className, text, ...rest }) => { - const baseClasses = 'block text-gray-700 text-sm font-bold'; + const baseClasses = 'flex flex-1 flex-col text-gray-700 text-sm font-bold'; const getClasses = () => { const classes = []; @@ -12,12 +12,10 @@ const Label = ({ children, spacing, className, text, ...rest }) => { }; return ( -
- -
+ ); }; diff --git a/platform/ui/src/components/Label/Label.mdx b/platform/ui/src/components/Label/Label.mdx index 07664b61f..fef0566f5 100644 --- a/platform/ui/src/components/Label/Label.mdx +++ b/platform/ui/src/components/Label/Label.mdx @@ -16,5 +16,7 @@ import Label from './'; ## Basic usage -