From bc3a6ae824408674325ccfcdb5ac98913b88b6c2 Mon Sep 17 00:00:00 2001 From: Sophia Dengo Date: Fri, 14 Dec 2018 09:45:06 -0500 Subject: [PATCH] =?UTF-8?q?removed=20up/down=20arrows=20from=20datefield?= =?UTF-8?q?=20via=20css;=20scroll=20capability=20stil=E2=80=A6=20(#296)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * removed up/down arrows from datefield via css; scroll capability still works * upon review move code into a more logical file * Fixed linter complains about vendor prefixes, single quotes, and a qualifying selector for the input element. Also added a number input to the TextField example for easy checking across browsers --- packages/core/src/components/DateField/DateField.scss | 1 + .../src/components/TextField/TextField.example.jsx | 6 ++++++ packages/core/src/components/TextField/TextField.scss | 10 +++++++++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/packages/core/src/components/DateField/DateField.scss b/packages/core/src/components/DateField/DateField.scss index f7d547d778..0c04b7352d 100644 --- a/packages/core/src/components/DateField/DateField.scss +++ b/packages/core/src/components/DateField/DateField.scss @@ -33,6 +33,7 @@ Markup: Style guide: components.date-field */ + .ds-c-field--month, .ds-c-field--day, .ds-c-field--year { diff --git a/packages/core/src/components/TextField/TextField.example.jsx b/packages/core/src/components/TextField/TextField.example.jsx index b189a06d1f..7b17065cae 100644 --- a/packages/core/src/components/TextField/TextField.example.jsx +++ b/packages/core/src/components/TextField/TextField.example.jsx @@ -11,6 +11,12 @@ ReactDOM.render( name="single_example" requirementLabel="Optional" /> +