aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-03-17 19:35:25 -0400
committeryipstanley <stanley_yip@brown.edu>2019-03-17 19:35:25 -0400
commit345c445474292fe0bf56ff1a36f5a9a4b8411e95 (patch)
tree849ac334c1ffccf8e3aa1b951f67c9094e903025 /src
parent16eb812f464af0a4604b9cae60526c4282382b40 (diff)
ah
Diffstat (limited to 'src')
-rw-r--r--src/mobile/ImageUpload.scss24
-rw-r--r--src/mobile/ImageUpload.tsx2
2 files changed, 11 insertions, 15 deletions
diff --git a/src/mobile/ImageUpload.scss b/src/mobile/ImageUpload.scss
index 0663b977b..2d8966be1 100644
--- a/src/mobile/ImageUpload.scss
+++ b/src/mobile/ImageUpload.scss
@@ -1,20 +1,16 @@
-.imgupload_cont{
+.imgupload_cont {
height: 100%;
width: 100%;
align-content: center;
-
-
- .button_file{
- text-align: center;
- height: 50%;
- width: 50%;
- background-color: paleturquoise;
- color: grey;
- font-size: 3em;
+ .button_file {
+ text-align: center;
+ height: 50%;
+ width: 50%;
+ background-color: paleturquoise;
+ color: grey;
+ font-size: 3em;
}
- .input_file{
- background-color: transparent;
- display: none;
+ .input_file {
+ background-color: transparent; // display: none;
}
-
} \ No newline at end of file
diff --git a/src/mobile/ImageUpload.tsx b/src/mobile/ImageUpload.tsx
index 4f60c8c7d..8ad781990 100644
--- a/src/mobile/ImageUpload.tsx
+++ b/src/mobile/ImageUpload.tsx
@@ -35,7 +35,7 @@ const onFileLoad = (file: any) => {
ReactDOM.render((
<div className="imgupload_cont">
- <button className="button_file" onTouchStart={onPointerDown}> Open Image </button>
+ {/* <button className="button_file" onTouchStart={onPointerDown}> Open Image </button> */}
<input type="file" accept="image/*" onChange={onFileLoad} className="input_file" id="input_image_file"></input>
<img id="img_preview" src=""></img>
</div>),