Skip to content
Snippets Groups Projects
Commit c0989e41 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

use icon button

parent 496aec98
No related branches found
No related tags found
1 merge request!108Side panels
......@@ -10,18 +10,20 @@
<div class="container panel-control">
<div class="spacer"></div>
<button
mat-icon-button
class="control"
[ngClass]="{'touch-target-20': nshmpService.isSmallScreen$ | async}"
(click)="headerService.toggleControlPanel()"
>
@if (headerService.controlPanelSelected()) {
@if (headerService.controlPanelSelected()) {
<button
mat-icon-button
class="control"
[ngClass]="{'touch-target-20': nshmpService.isSmallScreen$ | async}"
(click)="headerService.toggleControlPanel()"
>
<mat-icon matTooltip="Close control panel"> left_panel_close </mat-icon>
} @else {
</button>
} @else {
<button mat-icon-button class="control" (click)="headerService.toggleControlPanel()">
<mat-icon matTooltip="Open control panel"> left_panel_open </mat-icon>
}
</button>
</button>
}
</div>
@if (headerService.controlPanelSelected()) {
......@@ -50,18 +52,20 @@
}"
>
<div class="panel-control">
<button
mat-icon-button
class="control"
[ngClass]="{'touch-target-20': nshmpService.isSmallScreen$ | async}"
(click)="headerService.toggleSettingsPanel()"
>
@if (headerService.settingsSelected()) {
@if (headerService.settingsSelected()) {
<button
mat-icon-button
class="control"
[ngClass]="{'touch-target-20': nshmpService.isSmallScreen$ | async}"
(click)="headerService.toggleSettingsPanel()"
>
<mat-icon matTooltip="Close plot settings panel"> right_panel_close </mat-icon>
} @else {
</button>
} @else {
<button mat-icon-button class="control" (click)="headerService.toggleSettingsPanel()">
<mat-icon matTooltip="Open plot settings panel"> right_panel_open </mat-icon>
}
</button>
</button>
}
</div>
@if (headerService.settingsSelected()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment