1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-24 08:33:29 +00:00

[PM-32472] [Defect] Generator page will not display on desktop (#19085)

* remove redundant link and import

* apply lost styles
This commit is contained in:
John Harrington
2026-02-20 07:51:05 -07:00
committed by GitHub
parent bb110122a5
commit 767caa4312
2 changed files with 9 additions and 12 deletions

View File

@@ -5,14 +5,17 @@
<bit-item>
<button
type="button"
bitLink
linkType="primary"
bit-item-content
class="tw-font-semibold"
aria-haspopup="dialog"
(click)="openHistoryDialog()"
>
{{ "generatorHistory" | i18n }}
<i slot="end" class="bwi bwi-angle-right" aria-hidden="true"></i>
<span
class="tw-text-fg-brand hover:tw-text-fg-brand-strong hover:tw-underline hover:tw-decoration-1"
>
{{ "generatorHistory" | i18n }}
</span>
<i slot="end" class="bwi bwi-angle-right tw-text-fg-brand" aria-hidden="true"></i>
</button>
</bit-item>
</ng-container>

View File

@@ -1,13 +1,7 @@
import { Component } from "@angular/core";
import { JslibModule } from "@bitwarden/angular/jslib.module";
import {
ButtonModule,
DialogModule,
DialogService,
ItemModule,
LinkModule,
} from "@bitwarden/components";
import { ButtonModule, DialogModule, DialogService, ItemModule } from "@bitwarden/components";
import {
CredentialGeneratorHistoryDialogComponent,
GeneratorModule,
@@ -18,7 +12,7 @@ import {
@Component({
selector: "credential-generator",
templateUrl: "credential-generator.component.html",
imports: [DialogModule, ButtonModule, JslibModule, GeneratorModule, ItemModule, LinkModule],
imports: [DialogModule, ButtonModule, JslibModule, GeneratorModule, ItemModule],
})
export class CredentialGeneratorComponent {
constructor(private dialogService: DialogService) {}