Change logic for which view to show for resizing to show correct view for mobile
Created new hook to check for whether a view is mobile or not on window resize
How did I test it?
Check various mobile sizes to make sure views are still good
Check desktop sizes to make sure the resizing fixes stayed
Additional comments for the reviewers
Sometimes there are issues if you switch from mobile to desktop with the wrong view being shown. However, I don't think this matters too much in production because someone's device isn't going to switch from mobile to desktop. If I do the debugger and put breakpoints, it works, but it doesn't always if I just switch it.
What was the ticket?
Fix mobile views for FP and Interested panels
What did I do?
How did I test it?
Additional comments for the reviewers
Sometimes there are issues if you switch from mobile to desktop with the wrong view being shown. However, I don't think this matters too much in production because someone's device isn't going to switch from mobile to desktop. If I do the debugger and put breakpoints, it works, but it doesn't always if I just switch it.
Screenshots
MY VERSION