[OCaml] Mobile-friendly clone of cgit.
style wrap commit ago and author below title on mobile
lib/static/styles.css
@@ -426,10 +426,10 @@
426
426
display: inline-flex;
427
427
align-items: center;
428
428
flex-shrink: 0;
429
Removed:
padding: 0.15rem 0.5rem;
429
Added:
padding: 0.2rem 0.6rem;
430
430
margin: 0;
431
431
border-radius: 9999px;
432
Removed:
font-size: 0.7rem;
432
Added:
font-size: 0.75rem;
433
433
font-weight: 600;
434
434
text-transform: uppercase;
435
435
vertical-align: middle;
@@ -453,6 +453,7 @@
453
453
min-width: 0;
454
454
overflow: hidden;
455
455
align-self: stretch;
456
Added:
gap: 0.5em;
456
457
}
457
458
458
459
.commit-title > a {
@@ -1095,6 +1096,10 @@
1095
1096
1096
1097
#main ul li:has(.commit-title) {
1097
1098
flex-wrap: wrap;
1099
Added:
}
1100
Added:
1101
Added:
.commit-title {
1102
Added:
flex: 1 0 100%;
1098
1103
}
1099
1104
1100
1105
.commit-ago {