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)
GitHub page: https://github.com/elad2412/the-new-css-reset

View File

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

View File

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

View File

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