adjusted project card height to be dynamic in home view

This commit is contained in:
2026-07-15 11:46:44 +08:00
parent dd8eb60e05
commit cc0b289df6
@@ -271,7 +271,7 @@ export default function HomeView({
{recentProjectRows.map((project) => (
<article className="grid min-w-0" key={project.path}>
<button
className="grid h-[116px] w-full cursor-pointer content-start justify-items-start gap-1.5 overflow-hidden rounded-lg border border-[#e1e4e8] bg-[#f7f7f7] p-3 text-left disabled:cursor-not-allowed disabled:opacity-[0.58] max-[760px]:h-[132px]"
className="grid h-auto w-full cursor-pointer content-start justify-items-start gap-1.5 overflow-hidden rounded-lg border border-[#e1e4e8] bg-[#f7f7f7] p-3 text-left disabled:cursor-not-allowed disabled:opacity-[0.58] max-[760px]:h-[132px]"
type="button"
disabled={!project.canOpen}
onClick={() => onProjectOpen(project.path)}