Skip to content

Instantly share code, notes, and snippets.

p6vital

Block or report user

Report or block p6vital

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View douban-sofa-machine.jsx
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}
View douban-sofa-machine.css
#debug-nav {
height: 40px;
padding: 5px 10px;
background-color: #e5ebe4;
color: #037b82; width: 100%;
}
You can’t perform that action at this time.