I need to modify the width of the tooltip box and the background of it too. How can I achieve it? I am using angular2 and ng bootstrap.
<i class="fa fa-info-circle info-icon-background" [ngbTooltip]="tooltipContent" aria-hidden="true" ></i>
I have tried putting the following in my "task-modal.component.css" css file but it does not seem to work. Please help.
.tooltip-inner{
width: 400px;
background-color: #FFFFFF;
}
In my angular component, I specify the css file as:
@Component({
selector: 'task-modal',
templateUrl: './task-modal.component.html',
styleUrls: ['task-modal.component.css'],
providers: [TasksService]
})