修复火狐样式bug。

This commit is contained in:
tengge1 2019-08-07 20:15:15 +08:00
parent 53e5a04a69
commit af31fc11a2
2 changed files with 5 additions and 4 deletions

View File

@ -65,7 +65,7 @@ class ImageList extends React.Component {
<IconButton icon={'right-triangle2'} title={nextPageText} onClick={this.handleNextPage}></IconButton>
<IconButton icon={'forward'} title={lastPageText} onClick={this.handleLastPage}></IconButton>
<div className={'info'}>
<span>{totalPage}</span>
{totalPage}
</div>
</div>
</div>;

View File

@ -109,6 +109,7 @@
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.ImageList>.page>.IconButton {
@ -122,12 +123,12 @@
}
.ImageList>.page>.current {
width: 0;
flex: 1;
width: 60px;
margin: 0 2px;
padding: 1px 2px;
}
.ImageList>.page>.info {
margin: 0 2px;
margin: 0 8px 0 2px;
white-space: nowrap;
}