[OCaml] Mobile-friendly clone of cgit.
fix match filter pill height to pagination controls
Filter pills (.toolbar-filter-value and .commit-pill inside .toolbar-filters) now have min-height: var(--target-size) to align vertically with the pagination buttons.
lib/static/styles.css
@@ -467,12 +467,14 @@
467
467
.toolbar-filter-value {
468
468
display: inline-flex;
469
469
align-items: center;
470
Added:
min-height: var(--target-size);
470
471
padding: 0.4em 0.9em;
471
472
border-radius: 9999px;
472
473
font-family: monospace;
473
474
font-size: 0.8em;
474
475
color: white;
475
476
background-color: #2d2d2d;
477
Added:
box-sizing: border-box;
476
478
}
477
479
478
480
.toolbar-dismiss {
@@ -521,6 +523,11 @@
521
523
522
524
.toolbar-filters::-webkit-scrollbar {
523
525
display: none;
526
Added:
}
527
Added:
528
Added:
.toolbar-filters .commit-pill {
529
Added:
min-height: var(--target-size);
530
Added:
box-sizing: border-box;
524
531
}
525
532
526
533
.toolbar-pagination {