From 4fdf6a7ffe22f9fccb4c0f081cd01051174ecdb8 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 9 Dec 2024 15:23:15 -0800 Subject: [PATCH] ui: Fix placement of tags menu under tags input with Bootstrap 5 - During the placement computation for the drop down menu, the height of the dropdown-menu is very high and that leads to it getting placed at the top of the page instead of the below the search element. - To avoid the problem, cap the height of the dropdown. Somehow, the original calculation for the height using CSS calc() does not seem to working as expected. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- plinth/templates/apps.html | 2 +- static/themes/default/css/main.css | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/plinth/templates/apps.html b/plinth/templates/apps.html index 8fdbb759f..70c6b6596 100644 --- a/plinth/templates/apps.html +++ b/plinth/templates/apps.html @@ -28,7 +28,7 @@ data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" autocomplete="off" placeholder="{% trans "Search with tags" %}">