mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
Display version in bottom left corner.
This commit is contained in:
parent
4b4fdafd50
commit
0020360db4
3 changed files with 12 additions and 0 deletions
|
@ -41,3 +41,11 @@
|
|||
border: 1px solid lightgray;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
span.version {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
color: darkgray;
|
||||
font-size: smaller;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue