Compare commits

...
Author SHA1 Message Date
tdgao 65c0a59d6a fix: project card having margin due to get actions fn 2026-04-18 11:37:52 -06:00
@@ -161,7 +161,7 @@ const maxResultsOptions = computed<ComboboxOption<number>[]>(() =>
@mouseenter="ctx.onServerProjectHover?.(result)"
@mouseleave="ctx.onProjectHoverEnd?.()"
>
<template v-if="ctx.getCardActions" #actions>
<template v-if="ctx.getCardActions?.(result, ctx.projectType.value)?.length" #actions>
<div class="flex gap-2">
<ButtonStyled
v-for="action in ctx.getCardActions(result, ctx.projectType.value)"
@@ -224,7 +224,7 @@ const maxResultsOptions = computed<ComboboxOption<number>[]>(() =>
@mouseenter="ctx.onProjectHover?.(result)"
@mouseleave="ctx.onProjectHoverEnd?.()"
>
<template v-if="ctx.getCardActions" #actions>
<template v-if="ctx.getCardActions?.(result, ctx.projectType.value)?.length" #actions>
<div class="flex gap-2">
<ButtonStyled
v-for="action in ctx.getCardActions(result, ctx.projectType.value)"