@fenderdigital/react-accordion
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -76,3 +76,3 @@ 'use strict'; | ||
{ | ||
className: 'outline-0 tl bg-transparent pointer w-100 ' + styles, | ||
className: 'outline-0 tl bg-transparent pointer w-100 ' + styles + ' ' + (!label ? 'flex justify-end' : ''), | ||
onClick: function onClick(event) { | ||
@@ -108,3 +108,3 @@ return _this2.handleClick(event); | ||
style: { | ||
maxHeight: isVisible ? '16rem' : '0', | ||
maxHeight: isVisible ? '48rem' : '0', | ||
transition: hasAnimation ? transition : null | ||
@@ -111,0 +111,0 @@ } |
@@ -30,3 +30,3 @@ { | ||
}, | ||
"version": "1.0.0" | ||
"version": "1.1.0" | ||
} |
@@ -24,3 +24,5 @@ import React, { Component } from 'react'; | ||
<button | ||
className={`outline-0 tl bg-transparent pointer w-100 ${styles}`} | ||
className={`outline-0 tl bg-transparent pointer w-100 ${styles} ${ | ||
!label ? 'flex justify-end' : '' | ||
}`} | ||
onClick={event => this.handleClick(event)} | ||
@@ -48,3 +50,3 @@ type="button" | ||
style={{ | ||
maxHeight: isVisible ? '16rem' : '0', | ||
maxHeight: isVisible ? '48rem' : '0', | ||
transition: hasAnimation ? transition : null, | ||
@@ -51,0 +53,0 @@ }} |
Sorry, the diff of this file is not supported yet
151793
246