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)
|
||||
GitHub page: https://github.com/elad2412/the-new-css-reset
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@charset "utf-8";
|
||||
|
||||
@use 'reset';
|
||||
@use 'leaflet';
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user