From 2154d01dcc6a82f37d0ed9491e96f3ccef769bb4 Mon Sep 17 00:00:00 2001 From: Harvey Kandola Date: Sun, 11 Sep 2016 10:24:20 -0700 Subject: [PATCH] responsive tweaks to github section --- app/app/styles/base.scss | 1 - core/section/github/commits_template.go | 4 ++-- core/section/github/issues_template.go | 4 ++-- core/section/github/milestones_template.go | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/app/styles/base.scss b/app/app/styles/base.scss index 2caa40fa..df90c265 100644 --- a/app/app/styles/base.scss +++ b/app/app/styles/base.scss @@ -62,7 +62,6 @@ a.alt { } } - $i: 150; @while $i > 0 { .margin-#{$i} { margin: #{$i}px; } diff --git a/core/section/github/commits_template.go b/core/section/github/commits_template.go index 107fc792..bb45875f 100644 --- a/core/section/github/commits_template.go +++ b/core/section/github/commits_template.go @@ -25,7 +25,7 @@ const commitsTemplate = `

- +
{{range $stats := .AuthorStats}} @@ -65,7 +65,7 @@ const commitsTemplate = ` {{if eq 1 .RepoCount}} repository. {{else}} repositories. {{end}}

-
+
{{range $commit := .BranchCommits}} diff --git a/core/section/github/issues_template.go b/core/section/github/issues_template.go index e2377553..b6905d2a 100644 --- a/core/section/github/issues_template.go +++ b/core/section/github/issues_template.go @@ -40,7 +40,7 @@ const (

-
+
{{range $data := .Issues}} @@ -54,7 +54,7 @@ const ( -
+ #{{$data.ID}} · {{$data.Repo}} · {{$data.Milestone}} · {{$data.Creator}} opened on {{$data.Date}}
{{$data.Labels}}
diff --git a/core/section/github/milestones_template.go b/core/section/github/milestones_template.go index 41142121..b8765876 100644 --- a/core/section/github/milestones_template.go +++ b/core/section/github/milestones_template.go @@ -41,7 +41,7 @@ const ( {{if eq 1 .RepoCount}} repository. {{else}} repositories. {{end}}

- +
{{range $data := .Milestones}} @@ -57,7 +57,7 @@ const ( -
+ {{$data.Repo}} {{if $data.IsMilestone}}