diff --git a/public/index.html b/public/index.html index 63e33439893f467a6ada5c963cb9f7104c0058ab..6855b22dc915cea0d46058652919f71b24b83d11 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") } }