From 764f7702d3f624e54d41fe30191a1925c93bfec8 Mon Sep 17 00:00:00 2001 From: Subhamoy Biswas Date: Sun, 19 Nov 2023 13:33:02 +0530 Subject: [PATCH] (refactor): devided large project names with name and shortdes --- htdocs/assets/style.css | 12 ++---------- htdocs/projects.php | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/htdocs/assets/style.css b/htdocs/assets/style.css index ab858df..77ceed2 100644 --- a/htdocs/assets/style.css +++ b/htdocs/assets/style.css @@ -635,10 +635,6 @@ video { z-index: 50; } -.m-1 { - margin: 0.25rem; -} - .m-2 { margin: 0.5rem; } @@ -894,8 +890,8 @@ video { height: 50px; } -.h-\[59vh\] { - height: 59vh; +.h-\[50vh\] { + height: 50vh; } .h-\[60vh\] { @@ -914,10 +910,6 @@ video { height: 100vh; } -.h-\[50vh\] { - height: 50vh; -} - .w-0 { width: 0px; } diff --git a/htdocs/projects.php b/htdocs/projects.php index 3c70504..5998bef 100644 --- a/htdocs/projects.php +++ b/htdocs/projects.php @@ -90,7 +90,7 @@ $years = create_project_years_array($conn); //fetch all projects by year and show it while ($project = $projects -> fetch_assoc()) { echo " - ".$project['name']." + ".$project['name'].($project['shortdes'] != "" ? ' - '. $project['shortdes'] : '')." "; }