Skip to content

Commit

Permalink
Tip for stations field
Browse files Browse the repository at this point in the history
  • Loading branch information
vpet98 committed Mar 12, 2024
1 parent c5ab06e commit 08e04dc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions statsboard/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ h1 {
margin: 5px 0;
}

.stations-note {
font-size: 13px;
color: #999;
font-style: italic;
margin-top: -5px;
}

#mapAndBoxes {
display: flex;
align-items: flex-start;
Expand Down
3 changes: 3 additions & 0 deletions statsboard/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,9 @@ function App() {
{level === "station" && (
<div>
<TextField label="Station" sx={{ my: 1, minWidth: 300 }} size="small" variant="outlined" value={station} onChange={e => setStation(e.target.value)} />
<div className="stations-note">
Comma-separated list, e.g. STA1,STA2
</div>
</div>
)}
</Grid>
Expand Down

0 comments on commit 08e04dc

Please sign in to comment.