@@ -32,82 +32,74 @@ const Navigation = ({
3232} ) => {
3333 return (
3434 < div
35- className = {
36- css . navbarWrapper ||
37- 'container box has-height-50 is-marginless has-padding-top-10 has-text-white has-background-black'
38- } >
39- < div className = 'columns is-gapless' >
40- < div className = 'column is-4' >
41- { hideZoom ? (
42- undefined
43- ) : (
44- < div className = 'buttons are-small' >
45- < ZoomOut
46- scale = { scale }
47- minScale = { minScale }
48- css = { css . zoomOutBtn }
49- handleZoomOut = { handleZoomOut }
50- />
51- < ResetZoom
52- scale = { scale }
53- defaultScale = { defaultScale }
54- css = { css . resetZoomBtn }
55- handleResetZoom = { handleResetZoom }
56- />
57- < ZoomIn
58- scale = { scale }
59- maxScale = { maxScale }
60- css = { css . zoomInBtn }
61- handleZoomIn = { handleZoomIn }
62- />
63- </ div >
64- ) }
65- </ div >
66- < div className = 'column is-4' >
67- < div className = 'buttons are-small' >
68- < PreviousPageButton
69- css = { css . previousPageBtn }
70- page = { page }
71- pages = { pages }
72- handlePrevClick = { handlePrevClick }
73- />
74- < PagesIndicator
75- css = { css . pageIndicator }
76- page = { page }
77- pages = { pages }
78- />
79- < NextPageButton
80- css = { css . nextPageBtn }
81- page = { page }
82- pages = { pages }
83- handleNextClick = { handleNextClick }
84- />
85- </ div >
86- </ div >
87- < div className = 'column is-4' >
88- { hideRotation ? (
89- undefined
90- ) : (
91- < div className = 'buttons are-small' >
92- < RotateLeft
93- css = { css . rotateLeftBtn }
94- rotationAngle = { rotationAngle }
95- handleRotateLeft = { handleRotateLeft }
96- />
97- < ResetRotation
98- css = { css . resetRotationBtn }
99- rotationAngle = { rotationAngle }
100- handleResetRotation = { handleResetRotation }
101- />
102- < RotateRight
103- css = { css . rotateRightBtn }
104- rotationAngle = { rotationAngle }
105- handleRotateRight = { handleRotateRight }
106- />
107- </ div >
108- ) }
35+ className = { `columns is-gapless ${ css . navbarWrapper ||
36+ 'box is-mobile has-text-white has-background-black has-margin-top-15 has-margin-bottom-15' } `} >
37+ { hideZoom ? (
38+ < div className = 'column is-3' > </ div >
39+ ) : (
40+ < div className = 'column is-3 buttons are-small has-addons' >
41+ < ZoomOut
42+ scale = { scale }
43+ minScale = { minScale }
44+ css = { css . zoomOutBtn }
45+ handleZoomOut = { handleZoomOut }
46+ />
47+ < ResetZoom
48+ scale = { scale }
49+ defaultScale = { defaultScale }
50+ css = { css . resetZoomBtn }
51+ handleResetZoom = { handleResetZoom }
52+ />
53+ < ZoomIn
54+ scale = { scale }
55+ maxScale = { maxScale }
56+ css = { css . zoomInBtn }
57+ handleZoomIn = { handleZoomIn }
58+ />
10959 </ div >
60+ ) }
61+ < div className = 'column is-1' > </ div >
62+ < div className = 'column is-4 buttons are-small has-addons is-centered' >
63+ < PreviousPageButton
64+ css = { css . previousPageBtn }
65+ page = { page }
66+ pages = { pages }
67+ handlePrevClick = { handlePrevClick }
68+ />
69+ < PagesIndicator
70+ css = { css . pageIndicator }
71+ page = { page }
72+ pages = { pages }
73+ />
74+ < NextPageButton
75+ css = { css . nextPageBtn }
76+ page = { page }
77+ pages = { pages }
78+ handleNextClick = { handleNextClick }
79+ />
11080 </ div >
81+ < div className = 'column is-1' > </ div >
82+ { hideRotation ? (
83+ < div className = 'column is-3' > </ div >
84+ ) : (
85+ < div className = 'column is-3 buttons are-small has-addons is-right' >
86+ < RotateLeft
87+ css = { css . rotateLeftBtn }
88+ rotationAngle = { rotationAngle }
89+ handleRotateLeft = { handleRotateLeft }
90+ />
91+ < ResetRotation
92+ css = { css . resetRotationBtn }
93+ rotationAngle = { rotationAngle }
94+ handleResetRotation = { handleResetRotation }
95+ />
96+ < RotateRight
97+ css = { css . rotateRightBtn }
98+ rotationAngle = { rotationAngle }
99+ handleRotateRight = { handleRotateRight }
100+ />
101+ </ div >
102+ ) }
111103 </ div >
112104 )
113105}
0 commit comments