Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
troyeguo committed Aug 27, 2023
1 parent 4463dc9 commit 975c6cb
Show file tree
Hide file tree
Showing 11 changed files with 157 additions and 156 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ flatpak run io.github.troyeguo.koodo-reader

## Develop

Make sure that you have installed yarn and git, node's version on your computer is 14.x.x.
Make sure that you have installed yarn and git

1. Download the repo

Expand Down
2 changes: 1 addition & 1 deletion README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ flatpak run io.github.troyeguo.koodo-reader

## 运行源码

请确保您电脑的 node 的版本为 14.x.x,已配置好 yarn,git 的运行环境。
请确保您电脑已配置好 yarn,git 的运行环境。

1. 将项目源码下载到本地

Expand Down
2 changes: 1 addition & 1 deletion README_pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ flatpak run io.github.troyeguo.koodo-reader

## Desenvolver

Certifique-se de ter instalado yarn e git, a versão, a versão do node deverá ser superior ou igual a 14.0.0.
Certifique-se de ter instalado yarn e git, a versão.

1. Baixe o repositório

Expand Down
3 changes: 1 addition & 2 deletions public/assets/styles/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ Z .copy-option:hover {
.book-item-image,
.book-item-cover,
.book-cover,
.book-cover-item-cover,
.book-item-list-cover {
.book-cover-item-cover {
background: rgba(235, 235, 235, 0.1);
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.18);
}
Expand Down
3 changes: 1 addition & 2 deletions public/assets/styles/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ body,
.book-item-image,
.book-item-cover,
.book-cover,
.book-cover-item-cover,
.book-item-list-cover {
.book-cover-item-cover {
background: rgba(255, 255, 255, 1);
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.18);
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/bookCardItem/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class BookCardItem extends React.Component<BookCardProps, BookCardState> {
style={
StorageUtil.getReaderConfig("isDisableCrop") === "yes"
? {
height: "173px",
height: "168px",
alignItems: "flex-end",
background: "rgba(255, 255,255, 0)",
boxShadow: "0px 0px 5px rgba(0, 0, 0, 0)",
Expand Down
22 changes: 15 additions & 7 deletions src/components/bookListItem/bookListItem.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
.book-list-item-container {
display: flex;
justify-content: space-between;
margin: 18px;
margin-right: 25px;
position: relative;
Expand All @@ -11,32 +9,41 @@
height: 74px;
opacity: 1;
cursor: pointer;
overflow: hidden;
/* overflow: hidden; */
border-radius: 1px;
float: left;
margin-right: 15px;
}

.book-item-list-title,
.book-item-list-author {
max-height: 60px;
width: 350px;
font-size: 18px;
font-size: 15px;
opacity: 1;
text-align: center;
text-align: left;
vertical-align: middle;
cursor: pointer;
margin: 7px 10px;
line-height: 20px;
word-wrap: break-word;
display: table;

overflow: hidden;
}
.book-item-list-title {
display: inline-block;
width: calc(100% - 350px);
text-align: left;
}
.book-item-list-subtitle {
display: table-cell;
vertical-align: middle;
height: 60px;
width: 100%;
}
.book-item-list-author {
width: 150px;
float: right;
display: table;
}
.book-item-list-date,
.book-item-list-config {
Expand All @@ -63,4 +70,5 @@
text-align: center;
margin: 22px 10px;
line-height: 30px;
float: right;
}
Loading

0 comments on commit 975c6cb

Please sign in to comment.