From e47b24256daa9215766212c81c711614404e4d03 Mon Sep 17 00:00:00 2001
From: gingapa <Paulo.GINGAO@ext.ec.europa.eu>
Date: Thu, 18 Jan 2024 10:13:50 +0000
Subject: [PATCH] ISAICP-7752: Fix multiple dates text alignment.

---
 .../templates/content/node--digest-message.html.twig     | 4 ++--
 .../ventuno/templates/parts/inline-styles.html.twig      | 9 +++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/web/themes/ventuno/templates/content/node--digest-message.html.twig b/web/themes/ventuno/templates/content/node--digest-message.html.twig
index 4d0281c001..cf45ac8027 100644
--- a/web/themes/ventuno/templates/content/node--digest-message.html.twig
+++ b/web/themes/ventuno/templates/content/node--digest-message.html.twig
@@ -94,8 +94,8 @@
     <table role="presentation">
     <tbody>
       <tr>
-        <td>
-          <span class="d-flex bg-primary p-3 fw-bold fs-sm text-white text-uppercase">{{ publication_date }}</span>
+        <td class="bg-primary p-3">
+          <span class="d-inline-flex flex-row fw-bold fs-sm text-white text-uppercase">{{ publication_date }}</span>
         </td>
       </tr>
       <tr>
diff --git a/web/themes/ventuno/templates/parts/inline-styles.html.twig b/web/themes/ventuno/templates/parts/inline-styles.html.twig
index ceb63317aa..2e25109f37 100644
--- a/web/themes/ventuno/templates/parts/inline-styles.html.twig
+++ b/web/themes/ventuno/templates/parts/inline-styles.html.twig
@@ -71,6 +71,9 @@
     text-align: left;
     margin: 0 0 1rem;
   }
+  p time {
+    margin: 0 6px;
+  }
   .bg-primary {
     background: var(--bs-primary);
   }
@@ -128,6 +131,12 @@
   .d-flex {
     display: flex;
   }
+  .d-inline-flex {
+    display: inline-flex;
+  }
+  .flex-row {
+    flex-direction: row;
+  }
   .d-inline-block {
     display: inline-block;
   }
-- 
GitLab