<a target="_blank" href="{{helpLink}}" *ngIf="helpLink.length >= 1">{{helpText}}</a>
<span *ngIf="helpLink.length < 1">{{helpText}}</span>
</ng-template>
-<button class="btn btn-sm" placement="{{placement}}" [ngbPopover]="popContent" triggers="click"i
+<button class="btn {{buttonClass}}" placement="{{placement}}"
+ [ngbPopover]="popContent" triggers="click"
i18n-aria-label aria-label="Show help" aria-haspopup="true">
- <span class="material-icons" i18n-aria-label aria-label="Show help">live_help</span>
+ <span class="material-icons mat-icon-shrunk-in-button"
+ i18n-aria-label aria-label="Show help">live_help</span>
</button>
line-height: inherit;
}
-.mat-icon-shrunk-in-button {
- line-height: inherit;
- font-size: 18px;
-}
-
.input-group .mat-icon-in-button {
font-size: .88rem !important; /* useful for buttons that cuddle up with inputs */
}
font-size: 22px;
}
+.mat-icon-shrunk-in-button {
+ line-height: inherit;
+ font-size: 18px;
+}
+
/* allow spans/labels to vertically orient with material icons */
.label-with-material-icon {
display: inline-flex;