views: factor out paginator component.
* Refactor the paginator into a ViewComponent.
* Fix inconsistent spacing between paginator items.
* Fix a bug where the sequential paginator generated the wrong next /
previous page links in the <link rel="{next|prev}"> tags in the <head>.
* Always include the final page as a hidden html element, so that it can
be unhidden with custom CSS.
* Make it easier to change the pagination window.
This commit is contained in:
@@ -183,7 +183,6 @@
|
||||
|
||||
--wiki-page-other-name-background-color: #EEE;
|
||||
|
||||
--paginator-ellipsis-color: grey;
|
||||
--paginator-arrow-background-color: white;
|
||||
--paginator-arrow-color: var(--link-color);
|
||||
|
||||
@@ -377,7 +376,6 @@ body[data-current-user-theme="dark"] {
|
||||
|
||||
--paginator-arrow-background-color: white;
|
||||
--paginator-arrow-color: var(--link-color);
|
||||
--paginator-ellipsis-color: var(--grey-4);
|
||||
|
||||
--post-artist-commentary-container-background: var(--grey-3);
|
||||
--post-artist-commentary-container-border: 1px solid var(--grey-3);
|
||||
|
||||
Reference in New Issue
Block a user