[OCaml] Mobile-friendly clone of cgit.
style pagination left-aligned on desktop, right-aligned on mobile
Remove margin-left:auto from .toolbar-pagination globally and re-apply it only within the 600px mobile breakpoint.
lib/static/styles.css
@@ -608,7 +608,6 @@
608
608
align-items: center;
609
609
gap: 0.5em;
610
610
flex-shrink: 0;
611
Removed:
margin-left: auto;
612
611
}
613
612
614
613
.pagination-btn {
@@ -1037,6 +1036,10 @@
1037
1036
1038
1037
.diff-lines {
1039
1038
font-size: 0.85em;
1039
Added:
}
1040
Added:
1041
Added:
.toolbar-pagination {
1042
Added:
margin-left: auto;
1040
1043
}
1041
1044
}
1042
1045