Skip to content

Commit

Permalink
fix(module:autocomplete): fix styles (NG-ZORRO#1393)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuanxyz authored and vthinkxie committed May 9, 2018
1 parent 4f6bc10 commit 5107a11
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions components/auto-complete/nz-autocomplete.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,14 @@ export type AutocompleteDataSource = AutocompleteDataSourceItem[] | string[] | n
`,
styles : [
`
:host {
position: relative;
display: inline-block;
}
.ant-select-dropdown {
top: 100%;
left: 0;
position: relative;
width: 100%;
margin-top: 4px;
margin-bottom: 4px;
}
.ant-select-dropdown {
top: 100%;
left: 0;
position: relative;
width: 100%;
margin-top: 4px;
margin-bottom: 4px;
}
`
]
})
Expand Down

0 comments on commit 5107a11

Please sign in to comment.