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