mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-01 08:42:45 +00:00
use zoom icons rather than text
This commit is contained in:
@@ -65,7 +65,7 @@ const ToolBar = ({ updateZoom, currentPage, onPageChange, totalPages })=>{
|
|||||||
onClick={()=>setZoomLevel('out')}
|
onClick={()=>setZoomLevel('out')}
|
||||||
disabled={state.zoomLevel <= minZoom}
|
disabled={state.zoomLevel <= minZoom}
|
||||||
>
|
>
|
||||||
Zoom Out
|
<i className='fas fa-magnifying-glass-minus' />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div className='tool'>
|
<div className='tool'>
|
||||||
@@ -101,7 +101,7 @@ const ToolBar = ({ updateZoom, currentPage, onPageChange, totalPages })=>{
|
|||||||
onClick={()=>setZoomLevel('in')}
|
onClick={()=>setZoomLevel('in')}
|
||||||
disabled={state.zoomLevel >= maxZoom}
|
disabled={state.zoomLevel >= maxZoom}
|
||||||
>
|
>
|
||||||
Zoom In
|
<i className='fas fa-magnifying-glass-plus' />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div className='tool'>
|
<div className='tool'>
|
||||||
|
|||||||
Reference in New Issue
Block a user