From a82a80e4c71ce513e9062f95b29a9020a60addb3 Mon Sep 17 00:00:00 2001 From: Wystov Date: Tue, 2 Jul 2024 23:24:20 +0200 Subject: [PATCH 1/2] fix: 360 - change normalize.scss import priority --- src/app/styles/index.scss | 6 ++++++ vite.config.ts | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/styles/index.scss b/src/app/styles/index.scss index 576189a72..7ef6f878d 100644 --- a/src/app/styles/index.scss +++ b/src/app/styles/index.scss @@ -1,3 +1,5 @@ +@import '@/app/styles/_normalize'; + html { scroll-behavior: smooth; } @@ -10,6 +12,10 @@ body { box-sizing: border-box; } +h1 { + margin: 0; +} + a { cursor: pointer; color: $color-gray-600; diff --git a/vite.config.ts b/vite.config.ts index 647bd68ed..91a1d78ee 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -23,7 +23,6 @@ export default defineConfig({ @import "./src/app/styles/_constants.scss"; @import "./src/app/styles/_mixins.scss"; @import "./src/app/styles/_placeholders.scss"; - @import "./src/app/styles/_normalize.scss"; `, }, }, From f170f033f549cee0e02b925dc96725744a49d24a Mon Sep 17 00:00:00 2001 From: Wystov Date: Wed, 3 Jul 2024 13:54:59 +0200 Subject: [PATCH 2/2] refactor: rename normalize file --- src/app/styles/index.scss | 2 +- src/app/styles/{_normalize.scss => normalize.scss} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/app/styles/{_normalize.scss => normalize.scss} (100%) diff --git a/src/app/styles/index.scss b/src/app/styles/index.scss index 7ef6f878d..f10730213 100644 --- a/src/app/styles/index.scss +++ b/src/app/styles/index.scss @@ -1,4 +1,4 @@ -@import '@/app/styles/_normalize'; +@import './normalize'; html { scroll-behavior: smooth; diff --git a/src/app/styles/_normalize.scss b/src/app/styles/normalize.scss similarity index 100% rename from src/app/styles/_normalize.scss rename to src/app/styles/normalize.scss