From 2fe2e84ef4677920bf5dc1c493cd4bebce564e17 Mon Sep 17 00:00:00 2001 From: Cantuerk <21caog1bif@hft-stuttgart.de> Date: Fri, 3 Jan 2025 16:53:00 +0000 Subject: [PATCH] Update public/index.html --- public/index.html | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/public/index.html b/public/index.html index 63e3343..6855b22 100644 --- a/public/index.html +++ b/public/index.html @@ -162,11 +162,17 @@ #dynamic-menu { position: absolute; bottom: 70px; - width: 100%; - height: 200px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 20px; + padding: 20px; background: rgba(0, 0, 0, 0.8); + box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2); color: white; - padding: 20px; + width: 100%; + height: 200px; z-index: 20; overflow-y: auto; } @@ -219,10 +225,7 @@ </div> <!-- Dynamisches Menü --> - <div id="dynamic-menu" - style="display: none; position: absolute; bottom: 0; width: 100%; background: #f5f5f5; padding: 20px; box-shadow: 0 -2px 6px rgba(0,0,0,0.2);"> - </div> - + <div id="dynamic-menu" style="display: none;"></div> <!-- Bestätigungsdialog --> <div id="confirmation-dialog" style="display: none;"> @@ -387,9 +390,7 @@ if (intersects.length > 0) { selectedPlacedModel = intersects[0].object; highlightSelectedModel(); - showInfoDialog("Modell erfolgreich ausgewählt."); - } else { - showInfoDialog("Kein Modell unter dem Cursor gefunden."); + showMenu("edit-menu") } } -- GitLab