Fixed CSS loading issue

This commit is contained in:
Alexis
2023-10-15 11:41:46 +02:00
parent feb6753de3
commit b6f0e88238
4 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
@charset "utf-8";
/*** /***
The new CSS reset - version 1.8.5 (last updated 14.6.2023) The new CSS reset - version 1.8.5 (last updated 14.6.2023)
GitHub page: https://github.com/elad2412/the-new-css-reset GitHub page: https://github.com/elad2412/the-new-css-reset

View File

@@ -1,3 +1,5 @@
@charset "utf-8";
@use 'reset'; @use 'reset';
@use 'leaflet'; @use 'leaflet';

View File

@@ -6,7 +6,7 @@ let baseUrl: string
const isDev = import.meta.env.DEV; const isDev = import.meta.env.DEV;
if (isDev) { if (isDev) {
baseUrl = "http://localhost:4321" baseUrl = "http://localhost:4321/"
} else { } else {
baseUrl = import.meta.env.SITE baseUrl = import.meta.env.SITE
} }

View File

@@ -38,6 +38,6 @@ const { title } = Astro.props;
</body> </body>
</html> </html>
<style lang="scss"> <style lang="scss" is:global>
@use '../assets/scss/theme.scss'; @import '../assets/scss/theme.scss';
</style> </style>