0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-15 04:02:38 +00:00

Add animations

This commit is contained in:
G.Ambatte
2023-04-09 21:01:28 +12:00
parent ebc90c998a
commit b8e68f9a93
2 changed files with 12 additions and 10 deletions

View File

@@ -48,9 +48,7 @@ const MetadataNav = createClass({
},
renderMetaWindow : function(){
if(!this.state.showMetaWindow) return null;
return <div className='window'>
return <div className={`window ${this.state.showMetaWindow ? 'active' : 'inactive'}`}>
<div className='row'>
<h4>Description</h4>
<p>{this.props.brew.description || 'No description.'}</p>