From 4afec9efa29f2984950e53e8dcb3e96556675997 Mon Sep 17 00:00:00 2001 From: Riley Bautista <112599167+RileyBautista@users.noreply.github.com> Date: Sun, 2 Mar 2025 08:39:46 -0500 Subject: [PATCH] Update index.html --- index.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 0860a69..fc3527f 100644 --- a/index.html +++ b/index.html @@ -23,6 +23,14 @@ background: rgb(157,120,79); border-width: 0px; } + .card { + display: flex; + flex-direction: column; + height: 100%; + } + .card-body { + flex: 1; + } @@ -49,7 +57,7 @@ const container = document.getElementById('cards-container'); data.forEach(project => { const col = document.createElement('div'); - col.className = 'col-lg-4'; + col.className = 'col-lg-4 d-flex'; const card = document.createElement('div'); card.className = 'card'; @@ -67,7 +75,7 @@ description.textContent = project.description; const button = document.createElement('a'); - button.className = 'btn btn-primary'; + button.className = 'btn btn-primary mt-auto'; button.href = project.github_link; button.textContent = 'View on GitHub';