Made ellipses appear only when there are pages between the current page and the start or end.

This commit is contained in:
mgbennet 2019-03-14 23:15:28 -07:00 committed by Alex Cabal
parent 63c86973ed
commit 5c59facd54

View file

@ -1484,8 +1484,12 @@ main.ebooks nav ol li.highlighted::after{
article nav ol li.highlighted:first-child::before,
article nav ol li.highlighted:last-child::after,
article nav ol li.highlighted:nth-child(2)::before,
article nav ol li.highlighted:nth-last-child(2)::after,
main.ebooks nav ol li.highlighted:first-child::before,
main.ebooks nav ol li.highlighted:last-child::after{
main.ebooks nav ol li.highlighted:last-child::after,
main.ebooks nav ol li.highlighted:nth-child(2)::before,
main.ebooks nav ol li.highlighted:nth-last-child(2)::after{
display: none;
}