Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Fix schedule viewer ui #459

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Oxalin
Copy link

@Oxalin Oxalin commented Nov 21, 2018

Two simple fixes:

  • make sure the bottombar's height is big enough for its whole content
  • correctly write the Date input according to expected date format.

The text element just under the schedule's SVG was partially hidden when
the bottombar's height was set to 175px. I tried to remove the height
property or to set it to auto. This was working great under Chrome, but
Firefox seems to have problem calculating the content element's height...
unless the debug pane was opened (???)

So, for now, fix the height by setting a proper value (198px).

Fix a comment at the same time for readability.

Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
The yyyy, MM and dd values were added one to the other under
setStartDate(). 2018, 11, 21 would end up being 2050 instead of 20181121.

Force the variables to be treated as strings.

Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant