Skip to content

Commit

Permalink
change stakePage popup show style
Browse files Browse the repository at this point in the history
  • Loading branch information
lvshaoping007 committed Sep 9, 2021
1 parent 2003916 commit ad3cf7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/popup/pages/Staking/MyStaking.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class MyStaking extends React.Component {
}
render() {
return (
<div className="staking-root staking-root-pad">
<div className="staking-root-pad">
{this.renderTopInfo()}
{this.renderStakingInfo()}
<Clock schemeEvent={() => { this.fetchData(this.props.currentAccount.address) }} />
Expand Down
4 changes: 1 addition & 3 deletions src/popup/pages/Staking/index.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
@import "../../common.scss";
.staking-root-common {
width: 100%;
height: 500px;
height: 100%;
overflow: hidden;
box-sizing: border-box;
display: flex;
flex-direction: column;
}
.staking-root-pad {
padding: 0px 12px 10px 12px;
overflow-y: scroll;
height: 520px;
}
.stake-top-info {
background: #feffff;
Expand Down

0 comments on commit ad3cf7f

Please sign in to comment.