Skip to content

Commit

Permalink
Revert "use / for font url to fix production-bundle issues"
Browse files Browse the repository at this point in the history
Fix problem with fontello resources.
Fixes #162 reverting commit
Ref: #168
Ref: #171
  • Loading branch information
erral authored and thet committed Oct 21, 2021
1 parent 0f8392a commit 4ef3e2b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions news/171.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Fix problem with fontello resources.
Fixes #162 reverting commit 8ede7fae8c5f9987843f339d093a75e0d438609b
Ref: #168
Ref: #171
[erral]
2 changes: 1 addition & 1 deletion src/plone/staticresources/static/plone-fontello.less
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@fontsPrefix: '/++plone++static/fonts/';
@fontsPrefix: '++plone++static/fonts/';
@import url("fonts/plone-fontello.less");
2 changes: 1 addition & 1 deletion src/plone/staticresources/static/plone-glyphicons.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "@{bowerPath}/bootstrap3/less/variables.less"; // Modify this for custom colors, font-sizes, etc
@import "@{bowerPath}/bootstrap3/less/glyphicons.less";
// this override only works because of modifyVarsNoEmbed is used in generated Gruntfile.js
@icon-font-path: "/++plone++static/fonts/";
@icon-font-path: "++plone++static/fonts/";

0 comments on commit 4ef3e2b

Please sign in to comment.