mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-30 04:32:38 +00:00
remove .pageInfo widget in bottom of preview
page counter function is in toolbar now, so this isn't necessary.
This commit is contained in:
@@ -115,17 +115,6 @@ const BrewRenderer = (props)=>{
|
||||
return false;
|
||||
};
|
||||
|
||||
const renderPageInfo = ()=>{
|
||||
return <div className='pageInfo' ref={mainRef}>
|
||||
<div>
|
||||
{props.renderer}
|
||||
</div>
|
||||
<div>
|
||||
{state.currentPageNumber} / {rawPages.length}
|
||||
</div>
|
||||
</div>;
|
||||
};
|
||||
|
||||
const renderDummyPage = (index)=>{
|
||||
return <div className='phb page' id={`p${index + 1}`} key={index}>
|
||||
<i className='fas fa-spinner fa-spin' />
|
||||
@@ -248,7 +237,6 @@ const BrewRenderer = (props)=>{
|
||||
}
|
||||
</div>
|
||||
</Frame>
|
||||
{renderPageInfo()}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -37,22 +37,6 @@
|
||||
|
||||
.pane { position : relative; }
|
||||
|
||||
.pageInfo {
|
||||
position : absolute;
|
||||
right : 17px;
|
||||
bottom : 0;
|
||||
z-index : 1000;
|
||||
font-size : 10px;
|
||||
font-weight : 800;
|
||||
color : white;
|
||||
background-color : #333333;
|
||||
div {
|
||||
display : inline-block;
|
||||
padding : 8px 10px;
|
||||
&:not(:last-child) { border-right : 1px solid #666666; }
|
||||
}
|
||||
}
|
||||
|
||||
.ppr_msg {
|
||||
position : absolute;
|
||||
bottom : 0;
|
||||
|
||||
Reference in New Issue
Block a user