Skip to content

Commit

Permalink
DBC22-1909/1910: styling for empty display for cam and delay lists
Browse files Browse the repository at this point in the history
  • Loading branch information
minORC authored and fatbird committed Mar 18, 2024
1 parent 838c589 commit 6c9dade
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
6 changes: 1 addition & 5 deletions src/frontend/src/pages/CamerasListPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@
}

h6 {
margin: 15px 0;
}

h2 {
margin-bottom: 30px;
margin-top: 2rem;
}
}
4 changes: 2 additions & 2 deletions src/frontend/src/pages/EventsListPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,15 +308,15 @@ export default function EventsListPage() {
}

{!processedEvents.length &&
<div className="empty-event-display">
<Container className="empty-event-display">
<h2>No delays to display</h2>

<h6><b>Do you have a starting location and a destination entered?</b></h6>
<p>Adding a route will narrow down the information for the whole site, including the delays list. There might not be any delays between those two locations.</p>

<h6><b>Have you hidden any of the layers using the filters?</b></h6>
<p>Try toggling the filters on and off so that more information can be displayed.</p>
</div>
</Container>
}
</div>
</Container>
Expand Down
6 changes: 1 addition & 5 deletions src/frontend/src/pages/EventsListPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,6 @@
}

h6 {
margin: 15px 0;
}

h2 {
margin: 60px 0 30px 0;
margin-top: 2rem;
}
}

0 comments on commit 6c9dade

Please sign in to comment.