diff options
-rw-r--r-- | static/style.css | 7 | ||||
-rw-r--r-- | templates/repo_index.html.tmpl | 4 | ||||
-rw-r--r-- | templates/repo_tree_dir.html.tmpl | 4 |
3 files changed, 10 insertions, 5 deletions
diff --git a/static/style.css b/static/style.css index f8b21c7..536560d 100644 --- a/static/style.css +++ b/static/style.css @@ -82,7 +82,12 @@ tr.title-row > th { td > pre { margin: 0; } - +td#readme > *:last-child { + margin-bottom: 0; +} +td#readme > *:first-child { + margin-top: 0; +} .commit-id { font-family: monospace; } diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index 4fd4f08..216e5f4 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -63,7 +63,7 @@ </div> <div class="padding-wrapper"> {{ if .readme }} - <table id="readme"> + <table> <thead> <tr class="title-row"> <th> @@ -73,7 +73,7 @@ </thead> <tbody> <tr> - <td> + <td id="readme"> {{ .readme -}} </td> </tr> diff --git a/templates/repo_tree_dir.html.tmpl b/templates/repo_tree_dir.html.tmpl index ed8471f..99b6236 100644 --- a/templates/repo_tree_dir.html.tmpl +++ b/templates/repo_tree_dir.html.tmpl @@ -38,7 +38,7 @@ </div> <div class="padding-wrapper"> {{ if .readme }} - <table id="readme"> + <table> <thead> <tr class="title-row"> <th> @@ -48,7 +48,7 @@ </thead> <tbody> <tr> - <td> + <td id="readme"> {{ .readme -}} </td> </tr> |