[OCaml] Mobile-friendly clone of cgit.
fix wrap commit-ago below timestamp and title on mobile
On mobile (max-width: 600px), commit list items now flex-wrap so the relative time ('3 days ago') flows to its own line underneath the timestamp and commit title instead of being crammed horizontally.
lib/static/styles.css
@@ -1089,7 +1089,21 @@
1089
1089
}
1090
1090
1091
1091
.commit-author {
1092
Removed:
display: none;
1092
Added:
display: flex;
1093
Added:
}
1094
Added:
1095
Added:
#main ul li:has(.commit-title) {
1096
Added:
flex-wrap: wrap;
1097
Added:
}
1098
Added:
1099
Added:
.commit-ago {
1100
Added:
padding-top: 0;
1101
Added:
padding-bottom: 0.5em;
1102
Added:
}
1103
Added:
1104
Added:
.commit-author {
1105
Added:
margin-left: auto;
1106
Added:
padding-bottom: 0.5em;
1093
1107
}
1094
1108
1095
1109
footer {