From ddd3f711b0a965d129020af55897a1a4211df270 Mon Sep 17 00:00:00 2001 From: labmecanicatec <58854556+labmecanicatec@users.noreply.github.com> Date: Tue, 10 Jun 2025 15:02:12 -0500 Subject: [PATCH] fix(layout): Adjust tooltip and inline element alignment for custom footer Fixed a layout issue that caused tooltips and inline elements to become misaligned when users customized the footer height. This update ensures footer height changes do not affect UI element alignment by applying proper layout adjustments. --- Web/css/librebooking.css | 16 ++++++---------- tpl/globalheader.tpl | 7 +++---- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/Web/css/librebooking.css b/Web/css/librebooking.css index 32e68e601..a7f3a25c3 100644 --- a/Web/css/librebooking.css +++ b/Web/css/librebooking.css @@ -56,9 +56,9 @@ --text-color-btn: #ffffff; } -html { - min-height: 100%; - position: relative; +html, +body { + height: 99%; } body { @@ -66,16 +66,12 @@ body { font-weight: 400; font-style: normal; font-size: 14px; - margin: 0; - margin-bottom: 100px; - background-color: #fbfbfb; + display: flex; + flex-direction: column; } footer { - position: absolute; - bottom: 0; - width: 100%; - height: 60px; + margin-top: auto; } img.logo { diff --git a/tpl/globalheader.tpl b/tpl/globalheader.tpl index 9147212c9..c3743baa7 100644 --- a/tpl/globalheader.tpl +++ b/tpl/globalheader.tpl @@ -58,9 +58,8 @@ type="text/css" /> {/if} {if isset($Trumbowyg) && $Trumbowyg} - + {/if} {/if} @@ -413,4 +412,4 @@ {/if} -
\ No newline at end of file +
\ No newline at end of file