Skip to content

Improve mobile layout of (Vue) Todos page

What does this MR do and why?

Improve mobile layout of (Vue) Todos page

  • Ensure done/redo button stays square
  • Make sure done/redo button stays horizontally aligned to the right even when wrapped to a second line by a long todo title
  • Make sure tabs and top level action buttons wrap nicely
  • Fix distortion of sort and filter dropdowns

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

Screenshots or screen recordings

Viewport size Before After
xs (<576px) gdk.test_3000_dashboard_todos_vue__1_ gdk.test_3000_dashboard_todos_vue_
xs (<576px) (when done/redo button wraps to second line) gdk.test_3000_dashboard_todos_vue__2_ gdk.test_3000_dashboard_todos_vue__3_
sm and up (>=576px) (no change) gdk.test_3000_dashboard_todos_vue__5_ gdk.test_3000_dashboard_todos_vue__4_

How to set up and validate locally

  1. Check out this branch
  2. Ensure you are using the Vue todos feature flag in the GDK (todos_vue_application)
  3. Visit http://gdk.test:3000/dashboard/todos/vue
  4. Reduce the size of your viewport so that it is between 390px and 500px wide
Edited by Chad Lavimoniere

Merge request reports

Loading