summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/stylesheets/framework/jquery.scss30
-rw-r--r--app/assets/stylesheets/pages/search.scss2
2 files changed, 5 insertions, 27 deletions
diff --git a/app/assets/stylesheets/framework/jquery.scss b/app/assets/stylesheets/framework/jquery.scss
index e07d378587a..525ed81b059 100644
--- a/app/assets/stylesheets/framework/jquery.scss
+++ b/app/assets/stylesheets/framework/jquery.scss
@@ -19,35 +19,13 @@
}
&.ui-autocomplete {
+ border-color: #ddd;
+ padding: 0;
margin-top: 2px;
z-index: 1001;
- width: 240px;
- margin-bottom: 0;
- padding: 10px;
- font-size: 14px;
- font-weight: normal;
- background-color: $dropdown-bg;
- border: 1px solid $dropdown-border-color;
- border-radius: $border-radius-base;
- box-shadow: 0 2px 4px $dropdown-shadow-color;
-
- .ui-menu-item {
- display: block;
- position: relative;
- padding: 0 10px;
- color: $dropdown-link-color;
- line-height: 34px;
- text-overflow: ellipsis;
- border-radius: 2px;
- white-space: nowrap;
- overflow: hidden;
- border: none;
- &.ui-state-focus {
- background-color: $dropdown-link-hover-bg;
- text-decoration: none;
- margin: 0;
- }
+ .ui-menu-item a {
+ padding: 4px 10px;
}
}
diff --git a/app/assets/stylesheets/pages/search.scss b/app/assets/stylesheets/pages/search.scss
index 4c3c4b2ee63..3c74d25beb0 100644
--- a/app/assets/stylesheets/pages/search.scss
+++ b/app/assets/stylesheets/pages/search.scss
@@ -122,7 +122,7 @@
}
.dropdown-content {
- max-height: 300px;
+ max-height: 350px;
}
}