Display version in bottom left corner.

This commit is contained in:
Jean-Philip Desjardins 2021-09-23 20:05:40 -04:00
parent 4b4fdafd50
commit 0020360db4
3 changed files with 12 additions and 0 deletions

View file

@ -41,3 +41,11 @@
border: 1px solid lightgray;
margin: auto;
}
span.version {
position: absolute;
bottom: 0;
left: 0;
color: darkgray;
font-size: smaller;
}

View file

@ -63,6 +63,9 @@ export default function App() {
<div>
<input type="file" onChange={handleChange}/>
</div>
<span className="version">
{`Version: ${process.env.REACT_APP_VERSION}`}
</span>
</div>
);
}