design: changed appearance of arrows on pagination
This commit is contained in:
parent
478aafcf87
commit
f29fa38398
2 changed files with 10 additions and 2 deletions
|
|
@ -192,7 +192,7 @@ int build_pagination(int page,
|
||||||
|
|
||||||
if (page > 1) {
|
if (page > 1) {
|
||||||
char *href = href_builder(page - 1, data);
|
char *href = href_builder(page - 1, data);
|
||||||
count = add_link_to_collection(href, "<", "pagination-btn prev",
|
count = add_link_to_collection(href, "←", "pagination-btn prev",
|
||||||
out_matrix, out_inner_counts, count);
|
out_matrix, out_inner_counts, count);
|
||||||
free(href);
|
free(href);
|
||||||
}
|
}
|
||||||
|
|
@ -209,7 +209,7 @@ int build_pagination(int page,
|
||||||
}
|
}
|
||||||
|
|
||||||
char *href = href_builder(page + 1, data);
|
char *href = href_builder(page + 1, data);
|
||||||
count = add_link_to_collection(href, ">", "pagination-btn next",
|
count = add_link_to_collection(href, "→", "pagination-btn next",
|
||||||
out_matrix, out_inner_counts, count);
|
out_matrix, out_inner_counts, count);
|
||||||
free(href);
|
free(href);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -538,6 +538,14 @@ header .logo-link:hover {
|
||||||
border-color: var(--accent);
|
border-color: var(--accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[dir="rtl"] .pagination-btn.prev {
|
||||||
|
transform: scaleX(-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[dir="rtl"] .pagination-btn.next {
|
||||||
|
transform: scaleX(-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (max-width:1200px) {
|
@media (max-width:1200px) {
|
||||||
.content-layout {
|
.content-layout {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue