We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aae916 commit 05077f8Copy full SHA for 05077f8
lib/gtfs/components/StopMarker.js
@@ -37,7 +37,13 @@ export default class StopMarker extends Component<Props> {
37
<strong>
38
NOTE: Stop is parent station to {stop.child_stops.length} stop(s):
39
</strong>
40
- <ul style={{paddingLeft: '15px'}}>
+ <ul style={{
41
+ paddingLeft: '15px',
42
+ // Ensure that list does not become too long for popup to display
43
+ // properly.
44
+ maxHeight: '100px',
45
+ overflowY: 'scroll'
46
+ }}>
47
{stop.child_stops.map((s, i) =>
48
<li key={i}>
49
{s.stop_name} ({s.stop_code ? s.stop_code : s.stop_id})
0 commit comments