1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

[CL-688] Callout UI updates (#15152)

* refresh callout ui

* fix callout padding

* Use more descriptive example text

* position icon. Change padding back
This commit is contained in:
Bryan Cunningham
2025-06-13 14:12:45 -04:00
committed by GitHub
parent bfb0b874ed
commit f76e80f3cd
4 changed files with 16 additions and 29 deletions

View File

@@ -33,8 +33,7 @@ describe("Callout", () => {
component.type = "success";
fixture.detectChanges();
expect(component.title).toBeUndefined();
expect(component.icon).toBe("bwi-check");
expect(component.headerClass).toBe("!tw-text-success");
expect(component.icon).toBe("bwi-check-circle");
});
it("info", () => {
@@ -42,7 +41,6 @@ describe("Callout", () => {
fixture.detectChanges();
expect(component.title).toBeUndefined();
expect(component.icon).toBe("bwi-info-circle");
expect(component.headerClass).toBe("!tw-text-info");
});
it("warning", () => {
@@ -50,7 +48,6 @@ describe("Callout", () => {
fixture.detectChanges();
expect(component.title).toBe("Warning");
expect(component.icon).toBe("bwi-exclamation-triangle");
expect(component.headerClass).toBe("!tw-text-warning");
});
it("danger", () => {
@@ -58,7 +55,6 @@ describe("Callout", () => {
fixture.detectChanges();
expect(component.title).toBe("Error");
expect(component.icon).toBe("bwi-error");
expect(component.headerClass).toBe("!tw-text-danger");
});
});
});