mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
fix(ui): [PM-13147] Change logout a link to button so that it displays correctly (#12232)
On `/update-temp-password`, on the light theme the "Logout" link was not showing in the upper-left corner because the text color for an `a` link is our primary blue color, which blended in with the headers background color. This PR changes the logout `a` link to a `button` so that it inherits the header text color. It should be a button anyway since it's calling a function and not simply routing.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise">
|
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise">
|
||||||
<header>
|
<header>
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<a (click)="logOut()">{{ "logOut" | i18n }}</a>
|
<button type="button" (click)="logOut()">{{ "logOut" | i18n }}</button>
|
||||||
</div>
|
</div>
|
||||||
<h1 class="center">
|
<h1 class="center">
|
||||||
<span class="title">{{ "updateMasterPassword" | i18n }}</span>
|
<span class="title">{{ "updateMasterPassword" | i18n }}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user