Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minify: rebase relative urls in imported files.
4177b3f moved the font-face declarations from src/static/css/pad.css to two imported files (src/static/css/pad/fonts.css, src/static/css/pad/toolbar.css) in a different directory. This results in the font files being invoked from CSSes residing in different directories in the minified and un-minified case. URLs in the src attribute are relative to the stylesheet path [0], and so we have to start requiring clean-css to rebase them. Before this change, the non minified casse worked by chance, because there were a lot of "..", which ended up resolving to the root of the site anyways. Fixes #3956 [0] https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src
- Loading branch information