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: {
|
||||
options: {
|
||||
includePaths: [ 'node_modules/bootstrap-sass/assets/stylesheets/' ]
|
||||
},
|
||||
dev: {
|
||||
files: {
|
||||
'public/stylesheets/global.css': paths.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;
|
||||
|
|
Loading…
Reference in New Issue