summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstance Okoghenun <cokoghenun@gitlab.com>2018-07-20 14:01:38 +0100
committerConstance Okoghenun <cokoghenun@gitlab.com>2018-07-20 14:01:38 +0100
commit1072b996cb2be6b5186b78895d2838d577a40c75 (patch)
tree89d6932a8df99b6ae5c90786b57e243fc11a4d23
parent3bd8a783e8e91cc863655a46c02f8c3391f2a1a4 (diff)
downloadgitlab-ce-secret-variable-settings-update-ce.tar.gz
CE Port of 'Creating an environment wildcard is weird'secret-variable-settings-update-ce
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss10
-rw-r--r--package.json1
-rw-r--r--yarn.lock10
3 files changed, 19 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index ec4a0f378d0..28f2adb1725 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -265,17 +265,23 @@
margin-right: 5px;
}
- ul {
+ ul,
+ .dropdown-content {
margin: 0;
padding: 0;
}
- li {
+ li,
+ .dropdown-item {
display: block;
text-align: left;
list-style: none;
padding: 0 1px;
+ &.active {
+ @include dropdown-item-hover;
+ }
+
a,
button,
.menu-item {
diff --git a/package.json b/package.json
index e1801d4d435..f2c6257a644 100644
--- a/package.json
+++ b/package.json
@@ -19,6 +19,7 @@
},
"dependencies": {
"@gitlab-org/gitlab-svgs": "^1.26.0",
+ "autocomplete.js": "^0.30.0",
"autosize": "^4.0.0",
"axios": "^0.17.1",
"babel-core": "^6.26.3",
diff --git a/yarn.lock b/yarn.lock
index 67f9aa98c74..83ad51f002f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -533,6 +533,12 @@ atob@^2.0.0:
version "2.0.3"
resolved "https://registry.yarnpkg.com/atob/-/atob-2.0.3.tgz#19c7a760473774468f20b2d2d03372ad7d4cbf5d"
+autocomplete.js@^0.30.0:
+ version "0.30.0"
+ resolved "https://registry.yarnpkg.com/autocomplete.js/-/autocomplete.js-0.30.0.tgz#e7a1425474291d255911499cee2a3c5624c9ccc5"
+ dependencies:
+ immediate "^3.2.3"
+
autosize@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/autosize/-/autosize-4.0.0.tgz#7a0599b1ba84d73bd7589b0d9da3870152c69237"
@@ -3813,6 +3819,10 @@ ignore@^3.3.3, ignore@^3.3.7:
version "3.3.8"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.8.tgz#3f8e9c35d38708a3a7e0e9abb6c73e7ee7707b2b"
+immediate@^3.2.3:
+ version "3.2.3"
+ resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.2.3.tgz#d140fa8f614659bd6541233097ddaac25cdd991c"
+
immediate@~3.0.5:
version "3.0.6"
resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b"