From 300b8ff2addd9d3e9e4119eb198475f0009736e2 Mon Sep 17 00:00:00 2001
From: Chad Kruse <314653+chadokruse@users.noreply.github.com>
Date: Sat, 16 Nov 2024 18:08:14 -0600
Subject: [PATCH] Misc UI updates and tweaks
---
.../lib/components/profiles/Profile.svelte | 4 +-
.../profiles/charts/BarFinancialTrends.svelte | 3 +-
.../profiles/grants/GrantsSummaryBox.svelte | 6 +-
.../profiles/grants/GrantsTable.svelte | 14 ++---
.../profiles/header/FoundationHeader.svelte | 14 ++++-
apps/web/src/lib/components/search/Nav.svelte | 2 +-
apps/web/src/lib/utils/tooltip.ts | 60 +++++++++++++++++++
7 files changed, 85 insertions(+), 18 deletions(-)
create mode 100644 apps/web/src/lib/utils/tooltip.ts
diff --git a/apps/web/src/lib/components/profiles/Profile.svelte b/apps/web/src/lib/components/profiles/Profile.svelte
index 1fbd310..c57ab57 100644
--- a/apps/web/src/lib/components/profiles/Profile.svelte
+++ b/apps/web/src/lib/components/profiles/Profile.svelte
@@ -1,4 +1,5 @@
+
diff --git a/apps/web/src/lib/components/profiles/charts/BarFinancialTrends.svelte b/apps/web/src/lib/components/profiles/charts/BarFinancialTrends.svelte
index 1a977ff..3001562 100644
--- a/apps/web/src/lib/components/profiles/charts/BarFinancialTrends.svelte
+++ b/apps/web/src/lib/components/profiles/charts/BarFinancialTrends.svelte
@@ -97,6 +97,7 @@
},
options: {
responsive: true,
+ maintainAspectRatio: false,
plugins: {
title: {
display: true,
@@ -166,7 +167,7 @@
{#if orgFinancialStats && orgFinancialStats.length > 1}
-
+
diff --git a/apps/web/src/lib/components/profiles/grants/GrantsSummaryBox.svelte b/apps/web/src/lib/components/profiles/grants/GrantsSummaryBox.svelte
index 176d20e..6437763 100644
--- a/apps/web/src/lib/components/profiles/grants/GrantsSummaryBox.svelte
+++ b/apps/web/src/lib/components/profiles/grants/GrantsSummaryBox.svelte
@@ -97,11 +97,7 @@
{#if grantsReferenceAttachment && grantCount === 1}
-
+
{/if}
diff --git a/apps/web/src/lib/components/profiles/grants/GrantsTable.svelte b/apps/web/src/lib/components/profiles/grants/GrantsTable.svelte
index d37f243..6556d05 100644
--- a/apps/web/src/lib/components/profiles/grants/GrantsTable.svelte
+++ b/apps/web/src/lib/components/profiles/grants/GrantsTable.svelte
@@ -1,23 +1,23 @@