From 51558d04a5ca53b2d2b6f088d1220167ee480b39 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Mon, 26 Jan 2026 13:12:28 -0500 Subject: git clone commands --- cgithub/static/style.css | 7 +++++++ cgithub/views/layout.eta | 2 ++ 2 files changed, 9 insertions(+) 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 @@ } %> <% } %> +
git clone https://github.com/<%= it.repo.owner %>/<%= it.repo.name %>.git
+git clone git@github.com:<%= it.repo.owner %>/<%= it.repo.name %>.git
<%~ it.body %> -- cgit v1.3.1