From af1faacf73734602b5bdc0806929f0b14d9dc647 Mon Sep 17 00:00:00 2001 From: secondl1ght Date: Fri, 15 Dec 2023 19:49:47 -0700 Subject: [PATCH] move css imports to global --- src/components/AboutCommunity.svelte | 4 ---- src/components/AboutMerchant.svelte | 4 ---- src/components/AboutTagger.svelte | 4 ---- src/components/InfoTooltip.svelte | 4 ---- src/components/ProfileStat.svelte | 4 ---- src/components/TicketLabel.svelte | 4 ---- src/routes/+layout.svelte | 5 +++++ src/routes/add-location/+page.svelte | 5 ----- src/routes/communities/leaderboard/+page.svelte | 4 ---- src/routes/communities/map/+page.svelte | 5 ----- src/routes/community/[area]/+page.svelte | 8 -------- src/routes/map/+page.svelte | 7 ------- src/routes/merchant/[id]/+page.svelte | 6 ------ src/routes/tagger/[id]/+page.svelte | 7 ------- src/routes/verify-location/+page.svelte | 7 ------- 15 files changed, 5 insertions(+), 73 deletions(-) diff --git a/src/components/AboutCommunity.svelte b/src/components/AboutCommunity.svelte index c0691df6..13ff4f15 100644 --- a/src/components/AboutCommunity.svelte +++ b/src/components/AboutCommunity.svelte @@ -22,7 +22,3 @@ }} /> - - diff --git a/src/components/AboutMerchant.svelte b/src/components/AboutMerchant.svelte index 58294bf3..9d9290ff 100644 --- a/src/components/AboutMerchant.svelte +++ b/src/components/AboutMerchant.svelte @@ -29,7 +29,3 @@ type="material" /> - - diff --git a/src/components/AboutTagger.svelte b/src/components/AboutTagger.svelte index feb7cab9..0a54770b 100644 --- a/src/components/AboutTagger.svelte +++ b/src/components/AboutTagger.svelte @@ -21,7 +21,3 @@ }} /> - - diff --git a/src/components/InfoTooltip.svelte b/src/components/InfoTooltip.svelte index 7e8cbcd3..d19cc77e 100644 --- a/src/components/InfoTooltip.svelte +++ b/src/components/InfoTooltip.svelte @@ -13,7 +13,3 @@ - - diff --git a/src/components/ProfileStat.svelte b/src/components/ProfileStat.svelte index 6d15ebbc..78394f93 100644 --- a/src/components/ProfileStat.svelte +++ b/src/components/ProfileStat.svelte @@ -38,7 +38,3 @@ {/if} - - diff --git a/src/components/TicketLabel.svelte b/src/components/TicketLabel.svelte index a1218ead..a1fd2918 100644 --- a/src/components/TicketLabel.svelte +++ b/src/components/TicketLabel.svelte @@ -18,7 +18,3 @@ class="mb-1 mr-1 inline-block rounded-full border border-link bg-link/25 p-1 text-xs text-primary dark:text-white" >{title} - - diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 64d4c4ab..0c73ac50 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -7,8 +7,13 @@ import { reportsSync } from '$lib/sync/reports'; import { usersSync } from '$lib/sync/users'; import { SvelteToast } from '@zerodevx/svelte-toast'; + import 'leaflet.locatecontrol/dist/L.Control.Locate.min.css'; + import 'leaflet.markercluster/dist/MarkerCluster.Default.css'; + import 'leaflet.markercluster/dist/MarkerCluster.css'; + import 'leaflet/dist/leaflet.css'; import localforage from 'localforage'; import { onDestroy, onMount } from 'svelte'; + import 'tippy.js/dist/tippy.css'; import '../app.css'; const options = { diff --git a/src/routes/add-location/+page.svelte b/src/routes/add-location/+page.svelte index 1961f96f..e949b9fa 100644 --- a/src/routes/add-location/+page.svelte +++ b/src/routes/add-location/+page.svelte @@ -755,8 +755,3 @@ {/if} {/if} - - diff --git a/src/routes/communities/leaderboard/+page.svelte b/src/routes/communities/leaderboard/+page.svelte index 7e56fec8..d61818e2 100644 --- a/src/routes/communities/leaderboard/+page.svelte +++ b/src/routes/communities/leaderboard/+page.svelte @@ -274,7 +274,3 @@ - - diff --git a/src/routes/communities/map/+page.svelte b/src/routes/communities/map/+page.svelte index 134edcda..2ac09d9b 100644 --- a/src/routes/communities/map/+page.svelte +++ b/src/routes/communities/map/+page.svelte @@ -305,8 +305,3 @@
- - diff --git a/src/routes/community/[area]/+page.svelte b/src/routes/community/[area]/+page.svelte index 39a088e1..bcf5da99 100644 --- a/src/routes/community/[area]/+page.svelte +++ b/src/routes/community/[area]/+page.svelte @@ -1357,11 +1357,3 @@
- - diff --git a/src/routes/map/+page.svelte b/src/routes/map/+page.svelte index d92a691e..88a4d2c2 100644 --- a/src/routes/map/+page.svelte +++ b/src/routes/map/+page.svelte @@ -842,10 +842,3 @@ Thanks for using BTC Map!`);
- - diff --git a/src/routes/merchant/[id]/+page.svelte b/src/routes/merchant/[id]/+page.svelte index 663bfb4a..3b78db66 100644 --- a/src/routes/merchant/[id]/+page.svelte +++ b/src/routes/merchant/[id]/+page.svelte @@ -864,9 +864,3 @@
- - diff --git a/src/routes/tagger/[id]/+page.svelte b/src/routes/tagger/[id]/+page.svelte index 94ab203f..17c9aa4c 100644 --- a/src/routes/tagger/[id]/+page.svelte +++ b/src/routes/tagger/[id]/+page.svelte @@ -748,10 +748,3 @@