From 58094fa6622287a8db49cd8c0fce4730c8a69acd Mon Sep 17 00:00:00 2001 From: Ed Morales Date: Thu, 2 Mar 2017 12:47:56 -0800 Subject: [PATCH] feat(search): make placeholder stay inplace when focused. (closes #226) (#391) leverage [floatPlaceholder] to make the placeholde stay in place when focused --- .../core/search/search-box/search-box.component.scss | 5 ----- .../core/search/search-input/search-input.component.html | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/platform/core/search/search-box/search-box.component.scss b/src/platform/core/search/search-box/search-box.component.scss index 9311166dff..2084cd3825 100644 --- a/src/platform/core/search/search-box/search-box.component.scss +++ b/src/platform/core/search/search-box/search-box.component.scss @@ -5,10 +5,5 @@ height: 64px; td-search-input { margin-left: 12px; - /deep/ { - .mat-input-placeholder.mat-focused { - visibility: hidden; - } - } } } \ No newline at end of file diff --git a/src/platform/core/search/search-input/search-input.component.html b/src/platform/core/search/search-input/search-input.component.html index be3c1be8e2..c6bfcb764c 100644 --- a/src/platform/core/search/search-input/search-input.component.html +++ b/src/platform/core/search/search-input/search-input.component.html @@ -1,5 +1,5 @@
- +