mirror of https://github.com/Chocobozzz/PeerTube
Add include paths for bootstrap sass and avoid to import an entire path
in the sass filepull/1/head
parent
0b69752270
commit
c158027179
|
@ -70,6 +70,9 @@ module.exports = function (grunt) {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
sass: {
|
sass: {
|
||||||
|
options: {
|
||||||
|
includePaths: [ 'node_modules/bootstrap-sass/assets/stylesheets/' ]
|
||||||
|
},
|
||||||
dev: {
|
dev: {
|
||||||
files: {
|
files: {
|
||||||
'public/stylesheets/global.css': paths.scss
|
'public/stylesheets/global.css': paths.scss
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
$icon-font-path: "/stylesheets/vendor/fonts/bootstrap/";
|
$icon-font-path: "/stylesheets/vendor/fonts/bootstrap/";
|
||||||
|
|
||||||
@import "../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
|
@import "_bootstrap";
|
||||||
|
|
||||||
body {
|
body {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
|
Loading…
Reference in New Issue