This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#debug-nav { | |
height: 40px; | |
padding: 5px 10px; | |
background-color: #e5ebe4; | |
color: #037b82; width: 100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FieldDisplay extends React.Component { | |
render() { | |
var labelDom; | |
if (typeof this.props.label !== 'undefined') { | |
labelDom = <div className="db-display-label" style={{float:'left', width:'100px'}}>{this.props.label}</div> | |
} | |
return ( | |
<div className="'db-display" style={{clear:'left'}}> | |
{labelDom} |