Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/components/applications-launcher-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,6 @@ export function ApplicationsLauncherWorkspace({
aria-labelledby="tools-home-title"
className={cn(
"mx-auto w-full max-w-[90rem] overflow-x-hidden px-4 pb-8 text-[color:var(--text)] sm:px-6 lg:px-8",
"pb-[calc(12rem+env(safe-area-inset-bottom))] sm:pb-8",
"pt-7 sm:pt-10 lg:pt-14",
className,
)}
Expand Down Expand Up @@ -782,13 +781,13 @@ export function ApplicationsLauncherWorkspace({
data-testid="tools-all-tools"
className="mx-auto mt-8 grid max-w-[86rem] gap-4 sm:mt-10"
>
<div className="flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between">
<div className="flex flex-col gap-3 lg:flex-row lg:items-end lg:justify-between">
<div className="text-left">
<h2 className="text-lg font-extrabold text-[color:var(--text-heading)]">{copy.allSectionLabel}</h2>
</div>
<div className="flex items-center gap-3">
<FilterTabs activeFilter={activeFilter} onFilterChange={setActiveFilter} />
<div className="hidden min-h-10 items-center gap-2 rounded-lg border border-[color:var(--border)] bg-[color:var(--surface-lux)] px-3 text-xs font-bold text-[color:var(--text-muted)] shadow-[var(--shadow-inset)] sm:inline-flex">
<div className="hidden min-h-10 items-center gap-2 rounded-lg border border-[color:var(--border)] bg-[color:var(--surface-lux)] px-3 text-xs font-bold text-[color:var(--text-muted)] shadow-[var(--shadow-inset)] lg:inline-flex">
Sort by
<span className="text-[color:var(--text-heading)]">A to Z</span>
<ChevronDown className="h-3.5 w-3.5" aria-hidden />
Expand Down
2 changes: 2 additions & 0 deletions tests/ui-tools.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ test.describe("Clinical KB tools launcher", () => {
{ path: "/forms", testId: "forms-home", heading: "What do you need from forms?", headingLevel: 1 },
{ path: "/differentials", testId: "differentials-home", heading: "Differentials", headingLevel: 1 },
{ path: "/favourites", testId: "favourites-hub", heading: "Favourites command library", headingLevel: 1 },
{ path: "/applications", testId: "tools-home", heading: "Tools", headingLevel: 1 },
] as const) {
await gotoLauncher(page, home.path);
await expect(page.getByTestId(home.testId)).toBeVisible();
Expand Down Expand Up @@ -557,6 +558,7 @@ test.describe("Clinical KB tools launcher", () => {
{ path: "/services", testId: "services-home", heading: "Find a service", headingLevel: 1 },
{ path: "/forms", testId: "forms-home", heading: "What do you need from forms?", headingLevel: 1 },
{ path: "/differentials", testId: "differentials-home", heading: "Differentials", headingLevel: 1 },
{ path: "/applications", testId: "tools-home", heading: "Tools", headingLevel: 1 },
] as const) {
await gotoLauncher(page, home.path);
await expect(page.getByTestId(home.testId)).toBeVisible();
Expand Down
Loading