From 793b6f543c7fec2d3eb7d64b052aabe8787f1685 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 27 Oct 2014 17:05:16 -0400 Subject: [PATCH] Make github trigger setup a bit nicer when there are a lot of repos --- static/css/quay.css | 5 +++++ static/directives/trigger-setup-github.html | 18 +++++++++--------- static/js/app.js | 7 ++++--- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/static/css/quay.css b/static/css/quay.css index f0bf4883d..7f711f79a 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -19,6 +19,11 @@ } } +.scrollable-menu { + max-height: 400px; + overflow: auto; +} + .dropdown.input-group-addon { padding: 0px; border: 0px; diff --git a/static/directives/trigger-setup-github.html b/static/directives/trigger-setup-github.html index bb5635a0e..77981d8f2 100644 --- a/static/directives/trigger-setup-github.html +++ b/static/directives/trigger-setup-github.html @@ -2,15 +2,15 @@
- + @@ -45,18 +45,18 @@
-
Please choose the GitHub repository that will trigger the build:
-
Repository:
- {{ currentRepo.repo }} + ng-src="{{ state.currentRepo.avatar_url ? state.currentRepo.avatar_url : '//www.gravatar.com/avatar/' }}"> + {{ state.currentRepo.repo }}