-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overhaul sketch UI #5
Conversation
…adio for free/snapped
Also refactors how SplitRouteMode gets instantiated
the new toolbar and was added for one use case that's not likely to repeat anytime soon
c5a47e8
to
c01ecae
Compare
…yle for draw controls. Radios no longer have a legend, so stop using the Svelte component entirely, for simplicity. Finally fix the bizarre problem with checkboxes and radios wrapping to two lines, by hacking max-width.
… controls already configures flex anyway
<label | ||
class="govuk-label govuk-radios__label" | ||
for={id + thisValue} | ||
style="max-width: 100%" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've fixed almost all of the margin/styling issues, after understanding the root causes with enough time in Firefox inspector. (Checkboxes and radios had |
This is a large change to the sketch UI. Demo at https://acteng.github.io/atip/move_draw_controls/scheme.html?authority=TA_North+Lincolnshire
TODOs that must be done before merging:
Some steps I'll save for a separate followup: