mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-18 21:00:35 -04:00
fix bug
Former-commit-id: c3fd29328f60eb5fa66a88a874018db803fdd69f
This commit is contained in:
@@ -194,7 +194,7 @@ class BookCoverItem extends React.Component<BookCoverProps, BookCoverState> {
|
||||
onClick={() => {
|
||||
this.handleCancelLoveBook();
|
||||
}}
|
||||
style={{ right: "300px" }}
|
||||
style={{ right: "274px", bottom: "25px" }}
|
||||
></span>
|
||||
) : null}
|
||||
|
||||
@@ -229,7 +229,7 @@ class BookCoverItem extends React.Component<BookCoverProps, BookCoverState> {
|
||||
onClick={() => {
|
||||
this.handleLoveBook();
|
||||
}}
|
||||
style={{ right: "270px", bottom: "55px" }}
|
||||
style={{ right: "275px", bottom: "25px" }}
|
||||
></span>
|
||||
</>
|
||||
) : null}
|
||||
|
||||
@@ -50,7 +50,7 @@ class UpdateInfo extends React.Component<UpdateInfoProps, UpdateInfoState> {
|
||||
this.props.handleNewDialog(true);
|
||||
} else if (
|
||||
OtherUtil.getReaderConfig("version") !== newVersion &&
|
||||
OtherUtil.getReaderConfig("isFirst") !== "yes"
|
||||
OtherUtil.getReaderConfig("isFirst")
|
||||
) {
|
||||
this.setState({ isUpdated: true });
|
||||
this.props.handleNewDialog(true);
|
||||
@@ -115,10 +115,12 @@ class UpdateInfo extends React.Component<UpdateInfoProps, UpdateInfoState> {
|
||||
>
|
||||
<span className="icon-close setting-close"></span>
|
||||
</div>
|
||||
<div className="update-info-text">
|
||||
<Trans>You successfully update to</Trans>
|
||||
{" " + version}
|
||||
</div>
|
||||
{this.state.isUpdated && (
|
||||
<div className="update-info-text">
|
||||
<Trans>You successfully update to</Trans>
|
||||
{" " + version}
|
||||
</div>
|
||||
)}
|
||||
<div className="update-dialog-info" style={{ height: 420 }}>
|
||||
<div className="new-version-animation">
|
||||
{this.state.isUpdated ? (
|
||||
|
||||
Reference in New Issue
Block a user