From 45dfa503aa027a1d995c8e9cf032dd071d8f6e24 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sat, 14 Feb 2026 17:22:34 -0500 Subject: [PATCH] Remove deal from tooltip --- src/App.vue | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/App.vue b/src/App.vue index af4fd72..6cf4965 100644 --- a/src/App.vue +++ b/src/App.vue @@ -85,7 +85,7 @@ export default { this.$vuetify.theme.global.name = theme; this.currentTheme = theme; localStorage.setItem('vuetify-theme', theme); - + // Also update data-bs-theme for any custom CSS that uses it document.documentElement.setAttribute('data-bs-theme', theme === 'dark' ? 'dark' : 'light'); }, @@ -247,22 +247,22 @@ export default { if (this.hoveredTopicId === null || !this.tooltipData[this.hoveredTopicId]) { return {}; } - + let top = this.tooltipPosition.y + 10; let left = this.tooltipPosition.x + 10; - + // Check if tooltip would go off bottom of screen if (top > window.innerHeight - 200) { // Position above the cursor instead top = this.tooltipPosition.y - 200; } - + // Check if tooltip would go off right side of screen if (left > window.innerWidth - 420) { // Position to the left of cursor instead left = this.tooltipPosition.x - 420; } - + return { position: 'fixed', left: Math.max(10, left) + 'px', @@ -338,10 +338,6 @@ const sortBy = ref([{ key: "score", order: "desc" }]); :style="tooltipStyle" >
-
{{ tooltipData[hoveredTopicId].topic.title }}
-
- {{ tooltipData[hoveredTopicId].topic.Offer.dealer_name }} -
visibility @@ -356,6 +352,9 @@ const sortBy = ref([{ key: "score", order: "desc" }]); Description: {{ tooltipData[hoveredTopicId].description }}
+
+ {{ tooltipData[hoveredTopicId].topic.Offer.dealer_name }} +
First Post: {{ tooltipData[hoveredTopicId].first_post }}