quality of life fixes

-images can now be removed from the menu as-well as added
-ensured only one upload window can be open at once

some other things have been done but these are one second branch
This commit is contained in:
Nye Evans 2021-02-10 12:06:57 +00:00
parent fade7c08e2
commit 3648a29d71
6 changed files with 69 additions and 42 deletions

4
dist/index.html vendored
View file

@ -4,10 +4,10 @@
<head>
<meta charset="UTF-8">
<title>referenceImageVR</title>
<link href="styles.css?1612804227625" rel="stylesheet">
<link href="styles.css?1612951302669" rel="stylesheet">
</head>
<body>
<div id="root" class="FullPage"></div>
<script type="text/javascript" src="main.js?8e2397bb303d99818ad8"></script></body>
<script type="text/javascript" src="main.js?68dbbfe09f76aed88278"></script></body>
</html>

31
dist/main.js vendored

File diff suppressed because one or more lines are too long

1
dist/src/main.d.ts vendored Normal file
View file

@ -0,0 +1 @@
export {};

19
dist/styles.css vendored
View file

@ -11,7 +11,7 @@ button{
.Button
{
background-color: lightcoral;
background-color: lightgray;
font-size: 4rem;
}
@ -21,7 +21,7 @@ button{
}
.Button:hover
{
background-color: red;
background-color: gray;
}
.FullPage
@ -49,8 +49,16 @@ button{
height: 100%;
width: 100%; /*things to try: max width?*/
box-sizing:border-box;
min-width: 100%;
max-width: 100%;
}
.imageMenuButtonContainer{
width : 100%;
height: 100%;
}
.imageMenuDeleteButton{
font-size: 2rem;
}
.imageMenuImage{
@ -81,10 +89,11 @@ button{
#noImageText{
font-size: 3rem;
color: grey;
background-color: white;
margin: 0 auto;
}
#uploadButton{
font-size: 3rem;
margin-top: 2vh;
margin-top: 5vh;
}