Closed nichgray closed 5 years ago
I added a display:none; to the prev_next class for the image comparison viewer to increase the image space on small screens. At some point we should update the js, rather than just hiding them.
Removed. Here's code for safekeeping:
// previous and next links / var prev_next = ''; if (currentSnippetIndex > 0) { var previous = snippets[currentSnippetIndex-1]; prev_next += ('<a href="'+viewerUrl+'?base='+previous["link"]+ '">Previous ('+previous["label"] +')'); } if (currentSnippetIndex < snippets.length-1) { var next = snippets[currentSnippetIndex+1]; prev_next += ('<a href="'+viewerUrl+'?base='+next["link"] +'">Next ('+next["label"] +')'); } prev_next += ''; nav.innerHTML += prev_next;/
I added a display:none; to the prev_next class for the image comparison viewer to increase the image space on small screens. At some point we should update the js, rather than just hiding them.