diff --git a/cmd/droned/assets/css/drone.css b/cmd/droned/assets/css/drone.css index 4676616b2..171c1b2d3 100644 --- a/cmd/droned/assets/css/drone.css +++ b/cmd/droned/assets/css/drone.css @@ -1082,3 +1082,16 @@ ul.account-radio-group li img { .url { word-break: break-all; } +#follow { + position: absolute; + z-index: 1000; + right: 1em; + top: .5em; + padding: 0 1em; + border-radius: 7px; + background: #999; + cursor: pointer; +} +#follow-container { + position: relative; +} diff --git a/cmd/droned/assets/css/drone.less b/cmd/droned/assets/css/drone.less index 8e4263aaf..178d1ede2 100644 --- a/cmd/droned/assets/css/drone.less +++ b/cmd/droned/assets/css/drone.less @@ -1271,3 +1271,19 @@ pre { .url { word-break: break-all; } + +#follow { + position: absolute; + z-index: 1000; + right: 1em; + top: .5em; + padding: 0 1em; + border-radius: 7px; + background: #999; + cursor: pointer; +} + +#follow-container { + position: relative; +} + diff --git a/pkg/template/pages/repo_commit.html b/pkg/template/pages/repo_commit.html index 985e733b4..cb433f27a 100644 --- a/pkg/template/pages/repo_commit.html +++ b/pkg/template/pages/repo_commit.html @@ -44,15 +44,37 @@