Github user muratsu commented on a diff in the pull request: https://github.com/apache/cordova-plugin-camera/pull/106#discussion_r34287365 --- Diff: src/windows/CameraProxy.js --- @@ -324,13 +325,20 @@ function takePictureFromCameraWP(successCallback, errorCallback, args) { // z-order style element for capturePreview and captureCancelButton elts // is necessary to avoid overriding by another page elements, -1 sometimes is not enough - capturePreview.style.cssText = "position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 999"; + capturePreview.style.cssText = "position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 999;"; + + var buttonStyle = "width:45%;padding: 10px 16px;font-size: 18px;line-height: 1.3333333;color: #333;background-color: #fff;border-color: #ccc; border: 1px solid transparent;border-radius: 6px; display: block; margin: 20px; z-index: 1000;border-color: #adadad;"; + + // Create capture button + captureTakePhotoButton = document.createElement("button"); + captureTakePhotoButton.innerText = "Take"; + captureTakePhotoButton.style.cssText = buttonStyle + "position: fixed; left: 0; bottom: 0; margin: 20px; z-index: 1000"; // Create cancel button captureCancelButton = document.createElement("button"); captureCancelButton.innerText = "Cancel"; - captureCancelButton.style.cssText = "position: fixed; right: 0; bottom: 0; display: block; margin: 20px; z-index: 1000"; - + captureCancelButton.style.cssText = buttonStyle + "position: fixed; right: 0; bottom: 0; margin: 20px; z-index: 1000"; + --- End diff -- nit: remove trailing whitespace
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org