Skip to content

Commit

Permalink
fix shellbar search popover container width/left
Browse files Browse the repository at this point in the history
  • Loading branch information
mikerodonnell89 committed May 30, 2019
1 parent 7582a05 commit fe6a7ce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/lib/search-input/search-input.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class SearchInputComponent implements ControlValueAccessor, OnInit, OnCha

/** @hidden */
onInputKeyupHandler() {
if (this.inputText.length) {
if (this.inputText && this.inputText.length) {
this.isOpen = true;
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.fd-search-input--closed .fd-popover__body {
width: 300px !important;
left: -264px !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import { SearchInputComponent } from '../../search-input/search-input.component'
@Component({
selector: 'fd-shellbar-actions',
templateUrl: './shellbar-actions.component.html',
styleUrls: ['./shellbar-actions.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class ShellbarActionsComponent implements OnInit, AfterContentChecked {
Expand Down

0 comments on commit fe6a7ce

Please sign in to comment.