This commit is contained in:
John Lyon-Smith
2018-05-14 21:41:33 -07:00
parent 5d67cb69b0
commit 609bb1c3d5
6 changed files with 22 additions and 92 deletions

View File

@@ -9,14 +9,9 @@ import {
} from "../Modal"
import { Column, Row } from "ui"
import { sizeInfo } from "ui/style"
import PropTypes from "prop-types"
import autobind from "autobind-decorator"
export class Profile extends Component {
static propTypes = {
changeTitle: PropTypes.func.isRequired,
}
constructor(props) {
super(props)

View File

@@ -8,8 +8,8 @@ ReactDOM.render(
document.getElementById('root')
)
// HACK: See https://github.com/facebook/react/issues/5619
let css = document.createElement('style')
// HACK: Setting placeholder color. See https://github.com/facebook/react/issues/5619
let css = document.createElement("style")
document.body.appendChild(css)
css.innerHTML = `::-webkit-input-placeholder { color: ${colorInfo.textPlaceholder} }`