Hot fix font icon issue
This commit is contained in:
parent
74e75cd391
commit
d3336fc488
|
@ -1,3 +1,7 @@
|
||||||
|
### v2.0.4
|
||||||
|
* Fix font icons issue as GitHub switches to SVG
|
||||||
|
* Fix toggle button position when GitLab is in compact mode
|
||||||
|
|
||||||
### v2.0.3
|
### v2.0.3
|
||||||
* Fix bug cannot load Octotree in GitHub Enterprise
|
* Fix bug cannot load Octotree in GitHub Enterprise
|
||||||
* No longer need to login to GitLab before showing tree
|
* No longer need to login to GitLab before showing tree
|
||||||
|
|
Binary file not shown.
|
@ -67,6 +67,7 @@ gulp.task('chrome:js', ['chrome:template', 'lib:ondemand'], () => {
|
||||||
gulp.task('chrome', ['chrome:js'], () => {
|
gulp.task('chrome', ['chrome:js'], () => {
|
||||||
return merge(
|
return merge(
|
||||||
pipe('./icons/**/*', './tmp/chrome/icons'),
|
pipe('./icons/**/*', './tmp/chrome/icons'),
|
||||||
|
pipe('./fonts/**/*', './tmp/chrome/fonts'),
|
||||||
pipe(['./libs/**/*', '!./libs/ondemand{,/**}', './tmp/octotree.*', './tmp/ondemand.js', './src/config/chrome/manifest.json'], './tmp/chrome/'),
|
pipe(['./libs/**/*', '!./libs/ondemand{,/**}', './tmp/octotree.*', './tmp/ondemand.js', './src/config/chrome/manifest.json'], './tmp/chrome/'),
|
||||||
pipe('./src/config/chrome/background.js', $.babel(), './tmp/chrome/')
|
pipe('./src/config/chrome/background.js', $.babel(), './tmp/chrome/')
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "octotree",
|
"name": "octotree",
|
||||||
"version": "2.0.3",
|
"version": "2.0.4",
|
||||||
"description": "Code tree for GitHub and GitLab",
|
"description": "Code tree for GitHub and GitLab",
|
||||||
"main": "inject.js",
|
"main": "inject.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: 'octicons';
|
||||||
|
src: url('chrome-extension://__MSG_@@extension_id__/fonts/octicons.woff') format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
.octotree {
|
.octotree {
|
||||||
.octotree_github_only {
|
.octotree_github_only {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -19,5 +19,8 @@
|
||||||
"background": {
|
"background": {
|
||||||
"scripts": [ "background.js" ],
|
"scripts": [ "background.js" ],
|
||||||
"persistent": false
|
"persistent": false
|
||||||
}
|
},
|
||||||
|
"web_accessible_resources": [
|
||||||
|
"fonts/*.woff"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue