Fixed CSS loading issue
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
@charset "utf-8";
|
||||||
|
|
||||||
@use 'reset';
|
@use 'reset';
|
||||||
@use 'leaflet';
|
@use 'leaflet';
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user