From ded07d07173a86e0a48982412bd5401d90ace463 Mon Sep 17 00:00:00 2001 From: Abhinay Omkar Date: Fri, 3 Aug 2018 17:03:16 -0400 Subject: [PATCH] feat(typography): Reverted baseline mixin to use display inline-block because of IE issues (#3297) BREAKING CHANGE: Helper text and MDC List two-line text that uses new typography baseline mixin should strip the white-space. --- demos/text-field.html | 20 ++++++++++---------- demos/typography.html | 13 +++---------- packages/mdc-list/README.md | 2 ++ packages/mdc-textfield/helper-text/README.md | 2 ++ packages/mdc-typography/_mixins.scss | 9 +++++---- 5 files changed, 22 insertions(+), 24 deletions(-) diff --git a/demos/text-field.html b/demos/text-field.html index c49077739e3..1fbc7d62f65 100644 --- a/demos/text-field.html +++ b/demos/text-field.html @@ -80,8 +80,8 @@

Full Functionality JS Component (Floating Label, Validation)

@@ -131,8 +131,8 @@

Password field with validation

- Must be at least 8 characters long + id="pw-validation-msg" + >Must be at least 8 characters long

@@ -152,8 +152,8 @@

Outlined Text Field

- Helper Text (possibly validation message) + id="name-validation-message" + >Helper Text (possibly validation message)

@@ -197,8 +197,8 @@

Text Field box

@@ -394,8 +394,8 @@

Custom error state behaviour - remove error state as soon as invalid input i

- diff --git a/demos/typography.html b/demos/typography.html index 82eea628f95..d98692fa3ee 100644 --- a/demos/typography.html +++ b/demos/typography.html @@ -84,16 +84,9 @@
Subtitle 2
Baseline
-

- Our Changing Planet -

-

- by Kurt Wagner -

-
- Visit ten places on our planet that are undergoing the biggest changes today. -
- +

Our Changing Planet

+

by Kurt Wagner

+
Visit ten places on our planet that are undergoing the biggest changes today.
+34px +22px +28px diff --git a/packages/mdc-list/README.md b/packages/mdc-list/README.md index ef7375d71a5..519dba38925 100644 --- a/packages/mdc-list/README.md +++ b/packages/mdc-list/README.md @@ -77,6 +77,8 @@ in the double line list style as defined by ``` +> NOTE: Make sure there are no white-space characters before primary and secondary text content. + ### List Groups Multiple related lists can be grouped together using the `mdc-list-group` class on a containing element. diff --git a/packages/mdc-textfield/helper-text/README.md b/packages/mdc-textfield/helper-text/README.md index a32e6238793..c7a42a304f1 100644 --- a/packages/mdc-textfield/helper-text/README.md +++ b/packages/mdc-textfield/helper-text/README.md @@ -27,6 +27,8 @@ Helper text gives context about a field’s input, such as how the input will be