Skip to content

Commit

Permalink
fix 1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kei committed Dec 6, 2017
1 parent bf77763 commit 0e7be42
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 18 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ A minimal Chrome / Firefox extension to help you learn Japanese words in each ne
+ Add「日」/「夕」/「月」themes
+ Change `likes` to `hides` ( hiddens words will not appear anymore)
+ Fix words data manually...
- `1.3.1`
+ Removed voice feature (still looking for a text2voice service)
- `1.3.1` Removed voice feature (still looking for a text2voice service)
- `1.3.2`
+ Fixed bug in「帳」
+ Made font size bigger in "L"

## TODO

Expand Down
2 changes: 1 addition & 1 deletion source/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "the-tab-of-words",
"version": "1.3.1",
"version": "1.3.2",
"description": "言葉 の Tab. A minimal extension to help you learn Japanese words in each new tab.",
"author": "keiww <[email protected]>",
"private": true,
Expand Down
8 changes: 4 additions & 4 deletions source/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ export default {
},
watch: {
fontSize (val, prevVal) {
document.body.classList.remove(prevVal)
document.body.classList.add(val)
document.documentElement.classList.remove(prevVal)
document.documentElement.classList.add(val)
},
theme (val, prevVal) {
document.body.classList.remove(prevVal)
document.body.classList.add(val)
document.documentElement.classList.remove(prevVal)
document.documentElement.classList.add(val)
}
},
created () {
Expand Down
2 changes: 1 addition & 1 deletion source/src/components/Book.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default {
hiddenCards = hides.map(item => {
return hiddenCards.filter(card => item === card.uuid)[0]
})
return hiddenCards.reserve()
return hiddenCards.reverse()
}
},
methods: {
Expand Down
4 changes: 2 additions & 2 deletions source/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import App from './App'

Vue.config.productionTip = false

document.body.classList.add(bus.store.settings.fontSize)
document.body.classList.add(bus.store.settings.theme)
document.documentElement.classList.add(bus.store.settings.fontSize)
document.documentElement.classList.add(bus.store.settings.theme)

/* eslint-disable no-new */
new Vue({
Expand Down
10 changes: 7 additions & 3 deletions source/src/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
box-sizing: border-box;
}

body, html {
height: 100vh;
html {
height: 100%;
line-height: 1.5;
font-family: var(--font);
overflow: hidden;
Expand All @@ -29,10 +29,14 @@ body, html {
font-size: 16px;
}
&.l {
font-size: 18px;
font-size: 20px;
}
}

body {
height: 100%;
}

a {
text-decoration: none;
.sunrise & {
Expand Down
Binary file modified the-tab-of-words.crx
Binary file not shown.
2 changes: 1 addition & 1 deletion the-tab-of-words/dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=utf-8><title>言葉 の Tab</title><link href=./static/css/app.e6c30d1c4d5cb0e7fb4feee0bd742431.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3bde10ebc2a66d9c039f.js></script><script type=text/javascript src=./static/js/vendor.998f82f908877539ae00.js></script><script type=text/javascript src=./static/js/app.5a4bdbad84303fce1f02.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><title>言葉 の Tab</title><link href=./static/css/app.d123f7f6fea886b052ef41cdd0498c00.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.263af93bcf494aa54437.js></script><script type=text/javascript src=./static/js/vendor.998f82f908877539ae00.js></script><script type=text/javascript src=./static/js/app.f15663e66d92908b05e9.js></script></body></html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Loading

0 comments on commit 0e7be42

Please sign in to comment.