Skip to content

Commit

Permalink
Issue #24 - eliminate unwanted white space in the Block Info's option…
Browse files Browse the repository at this point in the history
…al divs: title, description, category and keywords
  • Loading branch information
bobbingwide committed May 31, 2019
1 parent a8b9ab4 commit 32709aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions blocks/oik-blockinfo/blockinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ function BlockinfoStyled( blockname, showBlockTypeName, showTitle, showDescripti
}
var blockicon = BlockiconStyled(blockname, props);
var blockTypeName = showBlockTypeName ? <div>{blockname}</div> : null;
var blockTitle = showTitle ? <div> {block.title} </div> : null;
var blockDescription = showDescription ? <div> {block.description} </div> : null;
var blockCategory = showCategory ? <div> {block.category} </div> : null;
var blockTitle = showTitle ? <div>{block.title}</div> : null;
var blockDescription = showDescription ? <div>{block.description}</div> : null;
var blockCategory = showCategory ? <div>{block.category}</div> : null;
var keywords = block.keywords ? block.keywords.join() : null;
var blockKeywords = showKeywords ? <div> {keywords} </div> : null;
var blockKeywords = showKeywords ? <div>{keywords}</div> : null;


return(
Expand Down

0 comments on commit 32709aa

Please sign in to comment.