Updating help component

This commit is contained in:
piotrpekala7 2021-05-27 23:28:46 +02:00
parent a04804eaa0
commit 1a03bb0456
3 changed files with 6 additions and 4 deletions

View File

@ -31,8 +31,6 @@
</mat-expansion-panel>
</mat-accordion>
</div>
<button mat-button class="full-width">
<a href="https://docs.gns3.com/docs/"> Go to documentation </a>
</button>
<button mat-button color="primary" class="full-width" (click)="goToDocumentation()">Go to documentation</button>
</div>
</div>

View File

@ -1,4 +1,4 @@
.full-width {
width: 50%;
width: 100%;
margin-top: 20px;
}

View File

@ -28,4 +28,8 @@ export class HelpComponent implements OnInit {
this.releasenotes = data.replace(new RegExp('\n', 'g'), '<br />');
});
}
goToDocumentation() {
window.location.href = "https://docs.gns3.com/docs/";
}
}