forked from farhoodlabs/paperclip
Polish shared issue columns trigger styling
This commit is contained in:
@@ -80,10 +80,10 @@ export function IssueColumnPicker({
|
|||||||
type="button"
|
type="button"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
size="sm"
|
size="sm"
|
||||||
className="hidden h-8 shrink-0 px-2 text-xs text-muted-foreground hover:text-foreground sm:inline-flex"
|
className="hidden h-8 shrink-0 px-2 text-xs sm:inline-flex"
|
||||||
>
|
>
|
||||||
<Columns3 className="mr-1 h-3.5 w-3.5" />
|
<Columns3 className="mr-1 h-3.5 w-3.5" />
|
||||||
Show / hide columns
|
Columns
|
||||||
</Button>
|
</Button>
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent align="end" className="w-[300px] rounded-xl border-border/70 p-1.5 shadow-xl shadow-black/10">
|
<DropdownMenuContent align="end" className="w-[300px] rounded-xl border-border/70 p-1.5 shadow-xl shadow-black/10">
|
||||||
|
|||||||
@@ -297,7 +297,7 @@ describe("IssuesList", () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
await waitForAssertion(() => {
|
await waitForAssertion(() => {
|
||||||
expect(container.textContent).toContain("Show / hide columns");
|
expect(container.textContent).toContain("Columns");
|
||||||
expect(container.textContent).toContain("PAP-9");
|
expect(container.textContent).toContain("PAP-9");
|
||||||
expect(container.textContent).toContain("Agent One");
|
expect(container.textContent).toContain("Agent One");
|
||||||
expect(container.textContent).not.toContain("Updated");
|
expect(container.textContent).not.toContain("Updated");
|
||||||
|
|||||||
Reference in New Issue
Block a user