revert previous commit + trim code

This commit is contained in:
Aadil Ayub 2022-04-13 10:48:18 +05:00
parent 298715912c
commit dc81ff156c
1 changed files with 4 additions and 13 deletions

View File

@ -735,10 +735,9 @@ li.page-item.disabled {
display: none; display: none;
} }
li.page-item[aria-label="Next"], li.page-item:first-child,
li.page-item[aria-label="Previous"], li.page-item:last-child,
li.page-item[aria-label="First"], li.page-item:nth-last-child(2) {
li.page-item[aria-label="Last"] {
border: none; border: none;
text-decoration: none; text-decoration: none;
} }
@ -746,15 +745,7 @@ li.page-item[aria-label="Last"] {
li.page-item:first-child::before, li.page-item:first-child::before,
li.page-item:first-child::after, li.page-item:first-child::after,
li.page-item:last-child::before, li.page-item:last-child::before,
li.page-item:last-child::after { li.page-item:last-child::after,
display: none;
}
li.page-item:nth-last-child(2) {
border: none;
text-decoration: none;
}
li.page-item:nth-last-child(2)::before, li.page-item:nth-last-child(2)::before,
li.page-item:nth-last-child(2)::after { li.page-item:nth-last-child(2)::after {
display: none; display: none;