diff --git a/src/lib/components/ProductsSubmenu.svelte b/src/lib/components/ProductsSubmenu.svelte index a6e4df9f907..45934388a71 100644 --- a/src/lib/components/ProductsSubmenu.svelte +++ b/src/lib/components/ProductsSubmenu.svelte @@ -98,6 +98,7 @@ 'text-accent': $open } )} + aria-haspopup="menu" use:melt={$trigger} > {label} diff --git a/src/routes/(marketing)/(components)/pricing.svelte b/src/routes/(marketing)/(components)/pricing.svelte index a729d2b9d49..5e1473d7a81 100644 --- a/src/routes/(marketing)/(components)/pricing.svelte +++ b/src/routes/(marketing)/(components)/pricing.svelte @@ -53,9 +53,11 @@ type PricingProps = { class?: string; + /** Omits the animated wash; use on changelog and other tight layouts. */ + embedded?: boolean; }; - const { class: className }: PricingProps = $props(); + const { class: className, embedded = false }: PricingProps = $props(); const visiblePlans = SHOW_SCALE_PLAN ? plans : plans.filter((plan) => plan.name !== 'Scale'); @@ -69,13 +71,15 @@ )} >