Skip to content

Commit

Permalink
change style of preview area
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel committed Dec 24, 2019
1 parent d74646d commit 3b6d5c6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/src/components/projectEdit/inputLocale.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,12 @@ export const InputLocale = props => {
></textarea>
)}

{preview ? <div dangerouslySetInnerHTML={preview} /> : null}
{preview &&
<>
<h3 className="ttu f6 fw6 blue-grey mb1">Preview:</h3>
<div dangerouslySetInnerHTML={preview} className="pa2 bg-grey-light blue-dark"/>
</>
}
</div>
);
};

0 comments on commit 3b6d5c6

Please sign in to comment.