diff options
| author | Joe Mou <dev@mou.fo> | 2026-01-26 13:12:28 -0500 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-01-26 13:20:43 -0500 |
| commit | 51558d04a5ca53b2d2b6f088d1220167ee480b39 (patch) | |
| tree | cddb34ee6fbbd85aba4c723cabcafbb9c273ae38 /cgithub | |
| parent | 1631e0f74a488a8cf42e3fe699e96e9389bbb596 (diff) | |
git clone commands
Diffstat (limited to 'cgithub')
| -rw-r--r-- | cgithub/static/style.css | 7 | ||||
| -rw-r--r-- | cgithub/views/layout.eta | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/cgithub/static/style.css b/cgithub/static/style.css index ff787d6..5c27bbc 100644 --- a/cgithub/static/style.css +++ b/cgithub/static/style.css @@ -31,6 +31,13 @@ body > header, .box { border: 1px solid var(--border-color); padding: var(--box-padding); + > *:first-child { + margin-top: 0; + } + > *:last-child { + margin-bottom: 0; + } + > header:first-child { margin: calc(-1 * var(--box-padding)); margin-bottom: 0; diff --git a/cgithub/views/layout.eta b/cgithub/views/layout.eta index a191301..bfcd370 100644 --- a/cgithub/views/layout.eta +++ b/cgithub/views/layout.eta @@ -26,6 +26,8 @@ } %> </span> <% } %> + <pre><code>git clone https://github.com/<%= it.repo.owner %>/<%= it.repo.name %>.git +git clone git@github.com:<%= it.repo.owner %>/<%= it.repo.name %>.git</code></pre> </header> <%~ it.body %> |
