iticket-seatingplan-dev 1.0.34 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -236,7 +236,7 @@ const SeatingPlan = _ref => {
|
|
|
236
236
|
setPosition([img.height * 0.005, img.width * 0.005]);
|
|
237
237
|
setSeats(data);
|
|
238
238
|
};
|
|
239
|
-
map.target.setView([height * 0.015, width * 0.015], 5);
|
|
239
|
+
map && map.target.setView([height * 0.015, width * 0.015], 5);
|
|
240
240
|
setIsReloading(false);
|
|
241
241
|
}).catch(error => {
|
|
242
242
|
console.log(error);
|
|
@@ -298,7 +298,7 @@ const SeatingPlan = _ref => {
|
|
|
298
298
|
display: 'flex',
|
|
299
299
|
flexDirection: 'column',
|
|
300
300
|
border: '2px solid rgba(0,0,0,0.2)',
|
|
301
|
-
borderRadius: '
|
|
301
|
+
borderRadius: '4px'
|
|
302
302
|
}
|
|
303
303
|
}, /*#__PURE__*/_react.default.createElement("button", {
|
|
304
304
|
title: "Re-centre Seating Plan",
|
|
@@ -306,9 +306,9 @@ const SeatingPlan = _ref => {
|
|
|
306
306
|
className: "leaflet-control-zoom-in",
|
|
307
307
|
style: {
|
|
308
308
|
border: 'none',
|
|
309
|
-
borderRadius: '
|
|
309
|
+
borderRadius: '6px 6px 0 0',
|
|
310
310
|
background: '#fff',
|
|
311
|
-
padding: '
|
|
311
|
+
padding: '8px 6px',
|
|
312
312
|
cursor: 'pointer'
|
|
313
313
|
}
|
|
314
314
|
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
@@ -322,10 +322,10 @@ const SeatingPlan = _ref => {
|
|
|
322
322
|
className: "leaflet-control-zoom-in",
|
|
323
323
|
style: {
|
|
324
324
|
border: 'none',
|
|
325
|
-
borderRadius: '0 0
|
|
325
|
+
borderRadius: '0 0 6px 6px',
|
|
326
326
|
borderTop: '1px solid gray',
|
|
327
327
|
background: '#fff',
|
|
328
|
-
padding: '
|
|
328
|
+
padding: '8px 6px',
|
|
329
329
|
cursor: 'pointer',
|
|
330
330
|
background: isReloading ? 'rgb(0, 230, 64)' : '#fff'
|
|
331
331
|
}
|