diff --git a/README.md b/README.md index 8e382317..f8c2fa3f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
-[简体中文](https://github.com/troyeguo/koodo-reader/blob/master/README_cn.md) | English +[简体中文](https://github.com/troyeguo/koodo-reader/blob/master/README_cn.md) | [Português](https://github.com/troyeguo/koodo-reader/blob/master/README_pt.md) |English
@@ -96,7 +96,7 @@ docker-compose up -d ## Develop -Make sure that you have installed yarn and git, node's version on your computer is larger than 14.0.0. +Make sure that you have installed yarn and git, node's version on your computer is 14.x.x. 1. Download the repo diff --git a/README_cn.md b/README_cn.md index b455128c..7832c60a 100644 --- a/README_cn.md +++ b/README_cn.md @@ -1,6 +1,6 @@
-简体中文 | [English](https://github.com/troyeguo/koodo-reader/blob/master/README.md) +简体中文 | [Português](https://github.com/troyeguo/koodo-reader/blob/master/README_pt.md) | [English](https://github.com/troyeguo/koodo-reader/blob/master/README.md)
@@ -93,7 +93,7 @@ docker-compose up -d ## 运行源码 -请确保您电脑的 node 的版本大于 10.0.0,已配置好 yarn,git 的运行环境。 +请确保您电脑的 node 的版本为 14.x.x,已配置好 yarn,git 的运行环境。 1. 将项目源码下载到本地 diff --git a/README_pt.md b/README_pt.md index 0cff0e5c..429fb9af 100644 --- a/README_pt.md +++ b/README_pt.md @@ -1,6 +1,6 @@
-[English](https://github.com/troyeguo/koodo-reader/blob/master/README.md) | English +[简体中文](https://github.com/troyeguo/koodo-reader/blob/master/README_cn.md) | Português | [English](https://github.com/troyeguo/koodo-reader/blob/master/README.md)
diff --git a/src/components/dialogs/settingDialog/component.tsx b/src/components/dialogs/settingDialog/component.tsx index 1871df98..3e3928ac 100644 --- a/src/components/dialogs/settingDialog/component.tsx +++ b/src/components/dialogs/settingDialog/component.tsx @@ -332,7 +332,7 @@ class SettingDialog extends React.Component< this.handleChangeLocation(); }} > - Change location + Select
diff --git a/src/components/dialogs/settingDialog/settingDialog.css b/src/components/dialogs/settingDialog/settingDialog.css index de265940..f1be41e9 100644 --- a/src/components/dialogs/settingDialog/settingDialog.css +++ b/src/components/dialogs/settingDialog/settingDialog.css @@ -135,13 +135,14 @@ opacity: 1; border-radius: 11px; position: relative; - top: 4px; + top: 0px; left: 2px; cursor: pointer; font-size: 13px; display: flex; justify-content: center; align-items: center; + line-height: 1; } .theme-setting-item { width: 25px; diff --git a/src/components/popups/popupMenu/component.tsx b/src/components/popups/popupMenu/component.tsx index 49e85c3e..d3543511 100644 --- a/src/components/popups/popupMenu/component.tsx +++ b/src/components/popups/popupMenu/component.tsx @@ -64,6 +64,7 @@ class PopupMenu extends React.Component { let doc = getIframeDoc(); if (!doc) return; doc.addEventListener("mousedown", this.openMenu); + doc.addEventListener("touchend", this.openMenu); if (this.props.currentBook.format === "PDF") { setTimeout(() => { this.renderHighlighters(); diff --git a/src/components/popups/popupTrans/component.tsx b/src/components/popups/popupTrans/component.tsx index 8ddd9a3b..4ca91004 100644 --- a/src/components/popups/popupTrans/component.tsx +++ b/src/components/popups/popupTrans/component.tsx @@ -69,9 +69,10 @@ class PopupTrans extends React.Component {