Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add include paths for bootstrap sass and avoid to import an entire path in the sass file

Chocobozzzc15802717924
diff --git a/Gruntfile.js b/Gruntfile.js
index 028a7773d3..51ac10161c 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -70,6 +70,9 @@ module.exports = function (grunt) {
}
},
sass: {
+ options: {
+ includePaths: [ 'node_modules/bootstrap-sass/assets/stylesheets/' ]
+ },
dev: {
files: {
'public/stylesheets/global.css': paths.scss
diff --git a/public/stylesheets/index.scss b/public/stylesheets/index.scss
index 5dbb5e85aa..16f2ae88f5 100644
--- a/public/stylesheets/index.scss
+++ b/public/stylesheets/index.scss
@@ -1,6 +1,6 @@
$icon-font-path: "/stylesheets/vendor/fonts/bootstrap/";
-@import "../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
+@import "_bootstrap";
body {
padding: 20px;