design: changed appearance of arrows on pagination
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user