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 {
|
.report-icons {
|
||||||
margin: 20px 20px 20px 20px;
|
margin: 20px 0;
|
||||||
float: right;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.full-width {
|
.full-width {
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
<div *ngIf="reports">
|
<div *ngIf="reports">
|
||||||
<div class="report-icons">
|
<div class="report-icons">
|
||||||
<button mdTooltip="{{report.title}}" (click)="selectCurrent(idx)"
|
<button md-icon-button
|
||||||
[class.mdl-button--accent]="isCurrent(idx)"
|
*ngFor="let report of reports; let idx = index"
|
||||||
class="mdl-button mdl-js-button"
|
[mdTooltip]="report.title"
|
||||||
*ngFor="let report of reports; let idx = index">
|
[color]="isCurrent(idx) ? 'primary' : null"
|
||||||
<i class="material-icons">{{report.icon}}</i>
|
(click)="selectCurrent(idx)">
|
||||||
|
<md-icon>{{report.icon}}</md-icon>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="clear-both"> </div>
|
<div class="clear-both"> </div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user