Made bottom arrows optional and refactored routes (Closes #72) #76
Loading…
Reference in New Issue
No description provided.
Delete Branch "opt-arrows"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://opt-arrows-csc-class-profile-staging-snedadah.k8s.csclub.cloud/samplePage/
(no visual changes in sample page though)
Made it so you can type rightPage={pageRoutes.demographics} and you get autocomplete on the route name.
@ -94,3 +94,3 @@
.arrow {
width: calc(200rem / 16);
width: 100%;
fixes a horizontal scrolling issue on mobile
Hey @snedadah ! Thank you for picking up this work! The code looks super clean!💯 Links work as expected. I tested with both one link on either side and it looks good. I like the PageRoutes thing you introduced!
Small Nitpick on my side for how it looks on mobile when the 2 arrows are defined (this may have been a problem before and I don't know if you intend to fix this issue within this PR): I see that there is a breakpoint at width=769px where the arrows and the labels get smaller so it fits within the width of the page. Between width 769px and 848px, the right arrow is overflowing to the right causing the page to extend (you can horizontally scroll the page to the right). For context, I'm seeing this problem on Firefox. We can create a separate PR to address this issue though.
Made bottom arrows optional and refactored routesto Made bottom arrows optional and refactored routes (Closes #72)