From 2e625b3eac8abd0f481a99495eead8427024ab22 Mon Sep 17 00:00:00 2001 From: Giorgio Garofalo Date: Mon, 8 Jul 2024 00:05:38 +0200 Subject: [PATCH] Fix Aligned display (go back to flex) --- core/src/main/resources/render/html-wrapper.html | 3 ++- core/src/main/resources/render/theme/layout/beamer.css | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/resources/render/html-wrapper.html b/core/src/main/resources/render/html-wrapper.html index 2c3063f9..10e8d992 100644 --- a/core/src/main/resources/render/html-wrapper.html +++ b/core/src/main/resources/render/html-wrapper.html @@ -44,7 +44,8 @@ .align { width: 100%; - display: block; + display: flex; + flex-direction: column; } .align-left { diff --git a/core/src/main/resources/render/theme/layout/beamer.css b/core/src/main/resources/render/theme/layout/beamer.css index 4125d4dc..9b5eb181 100644 --- a/core/src/main/resources/render/theme/layout/beamer.css +++ b/core/src/main/resources/render/theme/layout/beamer.css @@ -67,6 +67,7 @@ table tr:last-child td { } .box { + width: 100%; margin: 12px; border-radius: 8px; }