Skip to content
Snippets Groups Projects
Commit 5ba05f2b authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[FIX] web, website: fix font path for bootstrap

Before this commit, if you or a lib uses Glyphicons, the font was loaded from
/web/content/fonts/ (or /web/static/src/less/fonts/ in debug=assets)

It is because bootstrap is imported from /web/static/src/less/import_boostrap.less
not directly from /web/static/lib/bootstrap/less/bootstrap.less

Now, we use absolute path to load font, overriding the variable define in
variables.less from bootstrap.
parent bff47822
No related branches found
No related tags found
No related merge requests found
......@@ -101,3 +101,5 @@
overflow-x: initial;
}
}
@icon-font-path: "/web/static/lib/bootstrap/fonts/";
......@@ -51,3 +51,5 @@ body.o_connected_user {
}
}
}
@icon-font-path: "/web/static/lib/bootstrap/fonts/";
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment