0
0
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:
Gazook89
2024-08-23 19:25:49 -05:00
parent f3ed174b0e
commit 77421c2950
2 changed files with 0 additions and 28 deletions

View File

@@ -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()}
</>
);
};

View File

@@ -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;