From: Jay Sitter Date: Sat, 17 Jun 2023 03:14:39 +0000 (-0400) Subject: fix: Sass files don't need to refer to full node_modules path X-Git-Url: http://these/git/%7BimageUploadUrl%7D?a=commitdiff_plain;h=ab92d7264d547c2c49e5a6a530fd8db85a4a5f3a;p=lemmy-ui.git fix: Sass files don't need to refer to full node_modules path --- diff --git a/src/assets/css/themes/darkly-red.scss b/src/assets/css/themes/darkly-red.scss index f6dfb3d..f6579a3 100644 --- a/src/assets/css/themes/darkly-red.scss +++ b/src/assets/css/themes/darkly-red.scss @@ -1,2 +1,2 @@ @import "variables.darkly-red"; -@import "../../../../node_modules/bootstrap-v4/scss/bootstrap"; +@import "bootstrap-v4/scss/bootstrap"; diff --git a/src/assets/css/themes/darkly.scss b/src/assets/css/themes/darkly.scss index ef808d5..657344f 100644 --- a/src/assets/css/themes/darkly.scss +++ b/src/assets/css/themes/darkly.scss @@ -1,2 +1,2 @@ @import "variables.darkly"; -@import "../../../../node_modules/bootstrap-v4/scss/bootstrap"; +@import "bootstrap-v4/scss/bootstrap"; diff --git a/src/assets/css/themes/litely-red.scss b/src/assets/css/themes/litely-red.scss index 388d70b..400b6ce 100644 --- a/src/assets/css/themes/litely-red.scss +++ b/src/assets/css/themes/litely-red.scss @@ -1,2 +1,2 @@ @import "variables.litely-red"; -@import "../../../../node_modules/bootstrap-v4/scss/bootstrap"; +@import "bootstrap-v4/scss/bootstrap"; diff --git a/src/assets/css/themes/litely.scss b/src/assets/css/themes/litely.scss index 061bcc4..8001586 100644 --- a/src/assets/css/themes/litely.scss +++ b/src/assets/css/themes/litely.scss @@ -1,2 +1,2 @@ @import "variables.litely"; -@import "../../../../node_modules/bootstrap-v4/scss/bootstrap"; +@import "bootstrap-v4/scss/bootstrap"; diff --git a/src/shared/components/app/styles.scss b/src/shared/components/app/styles.scss index 559f619..4d764cd 100644 --- a/src/shared/components/app/styles.scss +++ b/src/shared/components/app/styles.scss @@ -1,6 +1,6 @@ // Custom css -@import "../../../../node_modules/tributejs/dist/tribute.css"; -@import "../../../../node_modules/toastify-js/src/toastify.css"; -@import "../../../../node_modules/tippy.js/dist/tippy.css"; -@import "../../../../node_modules/bootstrap/dist/css/bootstrap-utilities.min.css"; +@import "tributejs/dist/tribute.css"; +@import "toastify-js/src/toastify.css"; +@import "tippy.js/dist/tippy.css"; +@import "bootstrap/dist/css/bootstrap-utilities.min.css"; @import "../../../assets/css/main.css";