From a442a4fecf0690d569e93afd8852444849cd6d6e Mon Sep 17 00:00:00 2001 From: Elliott Marquez Date: Mon, 8 Apr 2019 16:57:16 -0700 Subject: [PATCH] add css var to floated label placeholder creates: --paper-input-container-floated-label-placeholder-display --- paper-input-container.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paper-input-container.js b/paper-input-container.js index e2330f99..814d9740 100644 --- a/paper-input-container.js +++ b/paper-input-container.js @@ -138,6 +138,7 @@ Custom property | Description | Default `--paper-input-container-label` | Mixin applied to the label | `{}` `--paper-input-container-label-focus` | Mixin applied to the label when the input is focused | `{}` `--paper-input-container-label-floating` | Mixin applied to the label when floating | `{}` +`--paper-input-container-floated-label-placeholder-display` | Display of the placeholder of the floating label | `block` `--paper-input-container-input` | Mixin applied to the input | `{}` `--paper-input-container-input-align` | The vertical-align property of the input | `bottom` `--paper-input-container-input-disabled` | Mixin applied to the input when the component is disabled | `{}` @@ -185,6 +186,7 @@ Polymer({ } .floated-label-placeholder { + display: var(--paper-input-container-floated-label-placeholder-display, block); @apply --paper-font-caption; }