Skip to content

Commit 421fb78

Browse files
Merge branch 'dev'
2 parents 84ed8a0 + 8c30233 commit 421fb78

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

example/src/App.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import sources from './Sources'
99
import './App.css'
1010

1111
const FromUrl = () => (
12-
<div className='col-md-auto text-center'>
12+
<div className='col-sm-12 text-center'>
1313
<h1 className='text-white bg-info rounded'>Fetch PDF by URL</h1>
1414
<div className='border rounded'>
1515
<PDFViewer
@@ -22,7 +22,7 @@ const FromUrl = () => (
2222
)
2323

2424
const FromBase64 = () => (
25-
<div className='col-md-auto text-center'>
25+
<div className='col-sm-12 text-center'>
2626
<h1 className='text-white bg-info rounded'>
2727
Load PDF from base 64 string
2828
</h1>
@@ -37,7 +37,7 @@ const FromBase64 = () => (
3737
)
3838

3939
const ErrorHandling = () => (
40-
<div className='col-md-auto text-center'>
40+
<div className='col-sm-12 text-center'>
4141
<h1 className='text-white bg-info rounded'>
4242
Error message for failures
4343
</h1>
@@ -52,7 +52,7 @@ const ErrorHandling = () => (
5252
)
5353

5454
const CustomErrorHandling = () => (
55-
<div className='col-md-auto text-center'>
55+
<div className='col-sm-12 text-center'>
5656
<h1 className='text-white bg-info rounded'>
5757
Custom Error component for failures
5858
</h1>
@@ -79,7 +79,7 @@ const CustomErrorHandling = () => (
7979
)
8080

8181
const WithCustomLoader = () => (
82-
<div className='col-md-auto text-center'>
82+
<div className='col-sm-12 text-center'>
8383
<h1 className='text-white bg-info rounded'>Custom loader element</h1>
8484
<div className='border rounded'>
8585
<PDFViewer
@@ -95,7 +95,7 @@ const WithCustomLoader = () => (
9595
)
9696

9797
const WithCustomStartingPage = () => (
98-
<div className='col-md-auto text-center'>
98+
<div className='col-sm-12 text-center'>
9999
<h1 className='text-white bg-info rounded'>Custom starting page</h1>
100100
<div className='border rounded'>
101101
<PDFViewer
@@ -109,7 +109,7 @@ const WithCustomStartingPage = () => (
109109
)
110110

111111
const WithCustomScale = () => (
112-
<div className='col-md-auto text-center'>
112+
<div className='col-sm-12 text-center'>
113113
<h1 className='text-white bg-info rounded'>Custom scale</h1>
114114
<div className='border rounded'>
115115
<PDFViewer
@@ -126,7 +126,7 @@ const WithCustomScale = () => (
126126
)
127127

128128
const WithCustomNavigationStyles = () => (
129-
<div className='col-md-auto text-center'>
129+
<div className='col-sm-12 text-center'>
130130
<h1 className='text-white bg-info rounded'>Custom css classes</h1>
131131
<div className='border rounded'>
132132
<PDFViewer
@@ -155,7 +155,7 @@ const WithCustomNavigationStyles = () => (
155155
)
156156

157157
const WithCustomNavigation = () => (
158-
<div className='col-md-auto text-center'>
158+
<div className='col-sm-12 text-center'>
159159
<h1 className='text-white bg-info rounded'>Custom navigation</h1>
160160
<div className='border rounded'>
161161
<PDFViewer
@@ -170,7 +170,7 @@ const WithCustomNavigation = () => (
170170
)
171171

172172
const WithOnDocumentClick = () => (
173-
<div className='col-md-auto text-center'>
173+
<div className='col-sm-12 text-center'>
174174
<h1 className='text-white bg-info rounded'>
175175
With onDocumentClick, onPrevBtnClick, onNextBtnClick, onZoom and
176176
onRotation handler
@@ -191,7 +191,7 @@ const WithOnDocumentClick = () => (
191191
)
192192

193193
const WithoutNavigation = () => (
194-
<div className='col-md-auto text-center'>
194+
<div className='col-sm-12 text-center'>
195195
<h1 className='text-white bg-info rounded'>Without Navigation</h1>
196196
<div className='border rounded'>
197197
<PDFViewer
@@ -205,7 +205,7 @@ const WithoutNavigation = () => (
205205
)
206206

207207
const WithoutZoomRotation = () => (
208-
<div className='col-md-auto text-center'>
208+
<div className='col-sm-12 text-center'>
209209
<h1 className='text-white bg-info rounded'>
210210
Without Zoom and Rotation
211211
</h1>
@@ -222,7 +222,7 @@ const WithoutZoomRotation = () => (
222222
)
223223

224224
const WithNavbarTop = () => (
225-
<div className='col-md-auto text-center'>
225+
<div className='col-sm-12 text-center'>
226226
<h1 className='text-white bg-info rounded'>Navigation Bar on top</h1>
227227
<div className='border rounded'>
228228
<PDFViewer
@@ -236,7 +236,7 @@ const WithNavbarTop = () => (
236236
)
237237

238238
const WithWatermark = () => (
239-
<div className='col-md-auto text-center'>
239+
<div className='col-sm-12 text-center'>
240240
<h1 className='text-white bg-info rounded'>Watermark and Protected</h1>
241241
<div className='border rounded'>
242242
<PDFViewer

0 commit comments

Comments
 (0)