Skip to content

Commit

Permalink
Merge pull request #35 from bithost-gmbh/bugfix/33-mat-datepicker-styles
Browse files Browse the repository at this point in the history
#33: fix mat-datepicker-content styles being applied
  • Loading branch information
macjohnny authored Jun 6, 2018
2 parents 3f7df18 + 7bc25f0 commit d6b380d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 1.2.2
* Bugfix: input shows drop shadow when used together with MatDatepicker [#33](https://github.com/bithost-gmbh/ngx-mat-select-search/issues/33)

Thanks @irowbin for reporting

## 1.2.1

* Bugfix: Width of the input field is wrong in IE11 when using large option texts with angular material 6+. [#29](https://github.com/bithost-gmbh/ngx-mat-select-search/issues/29)
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ngx-mat-select-search",
"description": "Library that provides an angular component providing an input field for searching / filtering MatSelect options of the Angular Material library.",
"version": "1.2.1",
"version": "1.2.2",
"license": "MIT",
"scripts": {
"ng": "ng",
Expand Down
7 changes: 7 additions & 0 deletions src/app/mat-select-search/mat-select-search.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ $multiple-check-width: 33px;
border-bottom-style: solid;
z-index: 100;
font-size: inherit;
/*
compensate effects of .mat-datepicker-content
(see https://github.com/angular/material2/blob/master/src/lib/datepicker/datepicker-content.scss#L27)
TODO: implement propert theming (https://github.com/bithost-gmbh/ngx-mat-select-search/issues/34)
*/
box-shadow: none;
border-radius: none;
&.mat-select-search-inner-multiple {

width: 100%;
Expand Down

0 comments on commit d6b380d

Please sign in to comment.