0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-10 11:22:40 +00:00

Error bar added to edit page

This commit is contained in:
Scott Tolksdorf
2016-09-15 09:13:42 -04:00
parent 2a0c06cd3d
commit 9f05556bc5
4 changed files with 16 additions and 5 deletions

View File

@@ -62,6 +62,7 @@ var ErrorBar = React.createClass({
return <div className='errorBar'>
<i className='fa fa-exclamation-triangle' />
<h3> There are HTML errors in your markup</h3>
<small>If these aren't fixed your brew will not render properly when you print it to PDF or share it</small>
{this.renderErrors()}
<hr />
{this.renderProtip()}

View File

@@ -39,6 +39,10 @@
background-color : darken(@red, 8%);
border : none;
}
small{
font-size: 0.6em;
opacity: 0.7;
}
.protips{
margin-left : -80px;
font-size : 0.6em;