From f787f883375e97529248924ed3056882e1c06ecc Mon Sep 17 00:00:00 2001 From: Manuel Bouza Date: Tue, 24 Dec 2019 11:42:43 +0100 Subject: [PATCH] Update placeholder text and color --- src/css/_form.scss | 4 ++++ src/js/components/Form.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/css/_form.scss b/src/css/_form.scss index 71794a7..a55c3fb 100644 --- a/src/css/_form.scss +++ b/src/css/_form.scss @@ -26,6 +26,10 @@ input { border-style: solid; border-width: 1px; min-height: 20px; + + &::placeholder { + color: #ccc; + } } .text-muted { diff --git a/src/js/components/Form.js b/src/js/components/Form.js index 207af47..30902aa 100644 --- a/src/js/components/Form.js +++ b/src/js/components/Form.js @@ -128,7 +128,7 @@ class Form extends Component { name="description" onChange={onChange} value={changeset.description} - placeholder="Beschreibung der Tätigkeit - mind. 3 Zeichen" + placeholder="Beschreibung der Tätigkeit – optional" maxLength={255} rows={3} onKeyDown={this.handleTextareaKeyDown}