From 76694e003c8eb32838f5fc250c8eec94a59564ca Mon Sep 17 00:00:00 2001 From: overcuriousity Date: Mon, 18 Aug 2025 00:34:29 +0200 Subject: [PATCH] attempt fix layout --- src/components/AIQueryInterface.astro | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/src/components/AIQueryInterface.astro b/src/components/AIQueryInterface.astro index c09dc92..987c795 100644 --- a/src/components/AIQueryInterface.astro +++ b/src/components/AIQueryInterface.astro @@ -2022,7 +2022,7 @@ class AIQueryInterface { return `
-
+
${rank}
@@ -2155,16 +2155,16 @@ class AIQueryInterface { ${pros?.length ? `
✓ Vorteile
-
    - ${pros.map(pro => `
  • ${sanitizeText(pro)}
  • `).join('')} +
      + ${pros.map(pro => `
    • ${sanitizeText(pro)}
    • `).join('')}
` : ''} ${cons?.length ? `
✗ Nachteile
-
    - ${cons.map(con => `
  • ${sanitizeText(con)}
  • `).join('')} +
      + ${cons.map(con => `
    • ${sanitizeText(con)}
    • `).join('')}
` : ''} @@ -2231,15 +2231,6 @@ class AIQueryInterface { } } - getSuitabilityText(score) { - const texts = { - high: 'GUT GEEIGNET', - medium: 'GEEIGNET', - low: 'VIELLEICHT GEEIGNET' - }; - return texts[score] || 'GEEIGNET'; - } - showLoading() { showElement(this.elements.loading); }