Skip to content

Commit

Permalink
fix(search): overflow search-input fix + stop hiding label when focus…
Browse files Browse the repository at this point in the history
…ing. (closes #412) (#418)

* fix(search): removed fixed height in search-box and search-input

* fix(search): stop hiding label when focusing

* toolbar fix
  • Loading branch information
emoralesb05 authored Mar 16, 2017
1 parent e270687 commit 7282ff1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<md-divider></md-divider>
<md-card-content>
<h3 class="md-title">Toolbar notification &amp; menu</h3>
<md-tab-group md-stretch-tabs>
<md-tab-group md-stretch-tabs dynamicHeight>
<md-tab>
<template md-tab-label>Demo</template>
<md-toolbar color="accent">
Expand Down
6 changes: 0 additions & 6 deletions src/platform/core/search/search-box/search-box.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,11 @@
display: block;
}
.td-search-box {
height: 64px;
td-search-input {
margin-left: 12px;
/deep/ [dir='rtl'] & {
margin-right: 12px;
margin-left: 0px !important;
}
/deep/ {
.mat-input-placeholder.mat-focused {
visibility: hidden;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.td-search-input {
height: 64px;
overflow-x: hidden;
/deep/ md-input-container.mat-hide-underline {
.mat-input-underline {
Expand Down

0 comments on commit 7282ff1

Please sign in to comment.