Skip to content

Commit

Permalink
Move analyzer info button into analyze drop down (#4739)
Browse files Browse the repository at this point in the history
* Move analyzer info button into analyze drop down

* Travis didn't trigger, bumping
  • Loading branch information
richard-cox authored Nov 3, 2020
1 parent 78cf01e commit c1504c5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ Tested with Browserstack
## License

The work done has been licensed under Apache License 2.0. The license file can be found [here](LICENSE).

Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
<mat-menu #appMenu="matMenu">
<button (click)="runAnalysis(analyzer.id)" mat-menu-item
*ngFor="let analyzer of analyzers">{{ analyzer.name }}</button>
<mat-divider class="report-runner__divider"></mat-divider>
<button (click)="showAnalyzersInfo()" mat-menu-item>Analyzer Info</button>
</mat-menu>

<button mat-button [matMenuTriggerFor]="appMenu" *ngIf="analyzers.length > 0" class="report-runner__run">
<span>Analyze</span>
<mat-icon>arrow_drop_down</mat-icon>
</button>

<button (click)="showAnalyzersInfo()" mat-icon-button *ngIf="analyzers.length > 0" class="report-runner__info">
<mat-icon>help_outline</mat-icon>
</button>
</div>
</ng-container>
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@
display: flex;
justify-content: center;

&__run {
padding-right: 0;
&__divider {
margin: 4px 0;
}

&__info {
margin-left: -3px;
padding: 0;
width: 33px;
height: 33px;
line-height: 33px;
&__run {
padding-right: 0;
}
}

0 comments on commit c1504c5

Please sign in to comment.