DescriptionThis is a fix for http://code.google.com/p/googletransitdatafeed/issues/detail?id=45
It was the simplest fix I could think of, though it is probably not the best - the height is fixed instead of being dynamic and using only the required space.
The fixed value was chosen with 800x600 resolutions in mind. At this resolution the text above the graph occupies four lines instead of two, and that has to be accounted for. This leaves a blank space below the graph at bigger resolutions, and bigger font sizes are not properly supported (because the height is fixed).
That said, and given the purpose of this tool, I do think that having this fix is better than leaving the schedule viewer as it is. If someone more knowledgeable of web development knows how to fix it properly or if there's time in the future then this can be revisited then.
Patch Set 1 #
MessagesTotal messages: 2
|
|||||||||||||||||||