From 107e2331579856e30b4fcff547ddbbf8e3df3289 Mon Sep 17 00:00:00 2001
From: Samuel Conjard <samuel.conjard@univ-grenoble-alpes.fr>
Date: Thu, 13 Mar 2025 16:03:21 +0100
Subject: [PATCH] Remove margin between table and table-legend

---
 src/pcj/static/pcj/css/style_pcj.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pcj/static/pcj/css/style_pcj.css b/src/pcj/static/pcj/css/style_pcj.css
index 956a759..22b65dc 100644
--- a/src/pcj/static/pcj/css/style_pcj.css
+++ b/src/pcj/static/pcj/css/style_pcj.css
@@ -357,7 +357,7 @@ footer {
 }
 
 /* If a .PCJ-table is immediately followed by a note, remove its bottom margin */
-.PCJ-table:has(+ .PCJ-note-table) {
+.PCJ-table:has(+ .PCJ-note-table), .PCJ-table:has(+ .PCJ-table-legend) {
     margin-bottom: 0;
 }
 
-- 
GitLab