Open penkar opened 5 years ago
This patch makes it so that we don't display the "Next Research Field" link / button when there's no next research field to go to and the vice-versa regarding "Previous Research Field".
We now pass around the entire research field list to the relevant subcomponents in order to be able to detect when we're at the end or beginning of the research field list.
This actually causes problems with center-alignment of certain text. Reopening to address this issue.
In particular the previous research field button on the landing page. Or you could just loop it around to the end of the list.
pointer-events: none; cursor: default; opacity: 0.5;