From e647af0777515a806176eab65239c149dfc4b278 Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Fri, 24 Oct 2025 13:26:36 +0800 Subject: [PATCH] refactor: convert entity display to list style - Switch from grid display to list layout for persons and projects - Re-styled special entities (unnamed, You) to match - Added max-height limit to list in preparation for scrolling and displaying more items --- src/assets/styles/tailwind.css | 2 +- src/components/EntityGrid.vue | 17 ++----------- src/components/PersonCard.vue | 38 +++++++++++++--------------- src/components/ProjectCard.vue | 35 ++++++++++++------------- src/components/ShowAllCard.vue | 20 +++++++-------- src/components/SpecialEntityCard.vue | 13 +++++----- 6 files changed, 55 insertions(+), 70 deletions(-) diff --git a/src/assets/styles/tailwind.css b/src/assets/styles/tailwind.css index 03063394..396d6b96 100644 --- a/src/assets/styles/tailwind.css +++ b/src/assets/styles/tailwind.css @@ -38,7 +38,7 @@ } .dialog { - @apply bg-white p-4 rounded-lg w-full max-w-lg; + @apply bg-white p-4 rounded-lg w-full max-w-lg max-h-[calc(100vh-3rem)] overflow-y-auto; } /* Markdown content styling to restore list elements */ diff --git a/src/components/EntityGrid.vue b/src/components/EntityGrid.vue index ec5fe236..4e49c77c 100644 --- a/src/components/EntityGrid.vue +++ b/src/components/EntityGrid.vue @@ -2,7 +2,7 @@ GiftedDialog.vue to provide a reusable grid layout * for displaying people, projects, and special entities with selection. * * @author Matthew Raymer */