mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
workaround for tooltips (#1786)
- migrate buttons to angular/material - move buttons to the left (workaround for tooltips)
This commit is contained in:
parent
fa448374a9
commit
cbadbdec35
@ -8,8 +8,8 @@
|
||||
}
|
||||
|
||||
.report-icons {
|
||||
margin: 20px 20px 20px 20px;
|
||||
float: right;
|
||||
margin: 20px 0;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.full-width {
|
||||
|
@ -1,10 +1,11 @@
|
||||
<div *ngIf="reports">
|
||||
<div class="report-icons">
|
||||
<button mdTooltip="{{report.title}}" (click)="selectCurrent(idx)"
|
||||
[class.mdl-button--accent]="isCurrent(idx)"
|
||||
class="mdl-button mdl-js-button"
|
||||
*ngFor="let report of reports; let idx = index">
|
||||
<i class="material-icons">{{report.icon}}</i>
|
||||
<button md-icon-button
|
||||
*ngFor="let report of reports; let idx = index"
|
||||
[mdTooltip]="report.title"
|
||||
[color]="isCurrent(idx) ? 'primary' : null"
|
||||
(click)="selectCurrent(idx)">
|
||||
<md-icon>{{report.icon}}</md-icon>
|
||||
</button>
|
||||
</div>
|
||||
<div class="clear-both"> </div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user