diff --git a/web/src/App.css b/web/src/App.css index eac1ec1..002f49a 100644 --- a/web/src/App.css +++ b/web/src/App.css @@ -3717,6 +3717,11 @@ gap: 0.5rem; } +/* Ueber der Spenden-Pille (2.25rem hoch, bottom: 5.5rem) statt darauf. */ +.ts-feedback-fab-wrap-stacked { + bottom: 8.5rem; +} + .ts-feedback-fab { width: 3rem; height: 3rem; @@ -3764,11 +3769,6 @@ transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease; } -/* Ueber dem Feedback-Button (3rem hoch, bottom: 5.5rem) statt darauf. */ -.ts-donate-fab-stacked { - bottom: 9.25rem; -} - .ts-donate-fab:hover { background: #ff4b47; transform: scale(1.06); diff --git a/web/src/App.tsx b/web/src/App.tsx index 6aa6033..656b1be 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -2053,7 +2053,7 @@ const FEEDBACK_BUBBLE_MIN_INTERVAL_MS = 3 * 24 * 60 * 60 * 1000; // don't nag mo const FEEDBACK_BUBBLE_INITIAL_DELAY_MS = 45_000; const FEEDBACK_BUBBLE_AUTO_HIDE_MS = 14_000; -function FeedbackFab({ onOpen }: { onOpen: () => void }) { +function FeedbackFab({ onOpen, stacked }: { onOpen: () => void; stacked: boolean }) { const t = useT(); const [bubbleVisible, setBubbleVisible] = useState(false); @@ -2086,7 +2086,7 @@ function FeedbackFab({ onOpen }: { onOpen: () => void }) { }, [bubbleVisible]); return ( -
+
{bubbleVisible && (