diff options
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 %> |
