feat: reduces group heading from h2 to h3

This commit is contained in:
James
2021-08-04 14:23:23 -04:00
parent bb7e069b2b
commit 907f8fd94d
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
margin-top: base(2);
margin-bottom: base(2);
display: flex;
position: relative;
&__header {
margin-bottom: base(1);

View File

@@ -47,7 +47,7 @@ const Group: React.FC<Props> = (props) => {
{(label || description) && (
<header className={`${baseClass}__header`}>
{label && (
<h2 className={`${baseClass}__title`}>{label}</h2>
<h3 className={`${baseClass}__title`}>{label}</h3>
)}
<FieldDescription
value={null}