forge
Clone
https://git.tahinli.com/Tahinli/forge.git
0 watching0 forksRustAGPL-3.07.1 MiB41ee476Tahinli29 days ago283 commits
| 1 | // Commit page: a typed subject's groups as a compact list under the commit line. The list caps |
| 2 | // its own height and scrolls, so the diff below keeps its place on one screen. |
| 3 | |
| 4 | .commit-groups { |
| 5 | list-style: none; |
| 6 | margin: 8px 0 0; |
| 7 | padding: 0; |
| 8 | max-height: min(30dvh, 9rem); |
| 9 | overflow: auto; |
| 10 | border-top: 1px solid var(--border); |
| 11 | } |
| 12 | |
| 13 | .commit-group { |
| 14 | display: grid; |
| 15 | grid-template-columns: 64px minmax(0, 1fr); |
| 16 | column-gap: 12px; |
| 17 | padding: 5px 0; |
| 18 | border-bottom: 1px solid var(--border); |
| 19 | } |
| 20 | |
| 21 | .commit-kind { |
| 22 | color: var(--muted); |
| 23 | font-size: 13px; |
| 24 | line-height: 1.4; |
| 25 | } |
| 26 | |
| 27 | .commit-clauses { |
| 28 | list-style: none; |
| 29 | margin: 0; |
| 30 | padding: 0; |
| 31 | min-width: 0; |
| 32 | |
| 33 | > li { |
| 34 | font-size: 13px; |
| 35 | line-height: 1.4; |
| 36 | padding: 1px 0; |
| 37 | overflow-wrap: anywhere; |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | .commit-full-message { |
| 42 | margin-top: 8px; |
| 43 | |
| 44 | > summary { |
| 45 | cursor: pointer; |
| 46 | color: var(--muted); |
| 47 | font-size: 13px; |
| 48 | } |
| 49 | } |