Skip to content

Commit ad586fa

Browse files
committed
feat(tooltip): update displays
1 parent 45a0570 commit ad586fa

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

projects/igniteui-angular/src/lib/core/styles/components/tooltip/_tooltip-theme.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
$color-border: rem(4px) solid var-get($theme, 'background');
8080

8181
%tooltip-display {
82-
display: inline-flex;
82+
display: flex;
8383
align-items: flex-start;
8484
text-align: start;
8585
background: var-get($theme, 'background');
@@ -95,6 +95,10 @@
9595
igx-icon {
9696
--component-size: 1;
9797
}
98+
99+
igx-tooltip-close-button {
100+
display: flex;
101+
}
98102
}
99103

100104
%arrow--top {

projects/igniteui-angular/src/lib/directives/tooltip/tooltip-close-button.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ export class IgxTooltipCloseButtonComponent {
2121
@Output()
2222
public clicked = new EventEmitter<void>();
2323

24-
@HostBinding('class')
25-
private _defaultClass = 'igx-tooltip-close-button';
26-
2724
@HostListener('click')
2825
public handleClick() {
2926
this.clicked.emit();

0 commit comments

Comments
 (0)