aboutsummaryrefslogtreecommitdiff
path: root/src/mobile
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-12-11 17:04:49 -0500
committerbobzel <zzzman@gmail.com>2023-12-11 17:04:49 -0500
commit07c30aed69dfa810ddb0b861ae2dc8e8f3a27356 (patch)
tree678a0855b169eb88fdc574fd49481ee6e57b12de /src/mobile
parent936aa21fb576472e321a9af976d5da7b75292511 (diff)
fixed includes of scss globals into typescript files.
Diffstat (limited to 'src/mobile')
-rw-r--r--src/mobile/ImageUpload.scss13
-rw-r--r--src/mobile/ImageUpload.tsx3
2 files changed, 8 insertions, 8 deletions
diff --git a/src/mobile/ImageUpload.scss b/src/mobile/ImageUpload.scss
index 6669a3d21..e4156ee8e 100644
--- a/src/mobile/ImageUpload.scss
+++ b/src/mobile/ImageUpload.scss
@@ -1,4 +1,4 @@
-@import "../client/views/global/globalCssVariables.scss";
+@import '../client/views/global/globalCssVariables.module.scss';
.imgupload_cont {
display: flex;
@@ -50,7 +50,7 @@
z-index: -1;
}
- .inputfile+label {
+ .inputfile + label {
font-weight: 700;
color: black;
background-color: rgba(0, 0, 0, 0);
@@ -71,7 +71,7 @@
border-radius: 10px;
}
- .inputfile.active+label {
+ .inputfile.active + label {
font-style: italic;
color: black;
background-color: lightgreen;
@@ -81,7 +81,6 @@
.status {
font-size: 2em;
}
-
}
.image-upload {
@@ -134,5 +133,7 @@
border-radius: 20px;
opacity: 0.2;
background-color: black;
- transition: all 2s, opacity 1.5s;
-} \ No newline at end of file
+ transition:
+ all 2s,
+ opacity 1.5s;
+}
diff --git a/src/mobile/ImageUpload.tsx b/src/mobile/ImageUpload.tsx
index ee212e4af..d2598c2db 100644
--- a/src/mobile/ImageUpload.tsx
+++ b/src/mobile/ImageUpload.tsx
@@ -14,8 +14,7 @@ import { Utils } from '../Utils';
import './ImageUpload.scss';
import { MobileInterface } from './MobileInterface';
import * as React from 'react';
-//import { DFLT_IMAGE_NATIVE_DIM } from '../client/views/global/globalCssVariables.scss';
-const DFLT_IMAGE_NATIVE_DIM = '50px';
+const { default: { DFLT_IMAGE_NATIVE_DIM } } = require('../client/views/global/globalCssVariables.module.scss'); // prettier-ignore
export interface ImageUploadProps {
Document: Doc; // Target document for upload (upload location)
}