Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimanshu Kapoor <hkapoor@gitlab.com>2019-08-09 10:05:55 +0300
committerHimanshu Kapoor <hkapoor@gitlab.com>2019-08-09 10:14:45 +0300
commit4b9328c1c8b2c3c1e1c90b12db29e2250930b7c0 (patch)
tree3290ee07f7e7dc52f67f6b9f3e71a3f93c3f607b /app/assets/stylesheets/page_bundles
parent8470c131fa1eaacdf5a2278b69e79939fe761dcc (diff)
Reduce the default height of MR/branch dropdowns
To avoid having empty areas in the dropdown that occupy unnessary space, I removed the dropdown's min-height and changed its default height in empty state to be same as its loading state (with the spinner).
Diffstat (limited to 'app/assets/stylesheets/page_bundles')
-rw-r--r--app/assets/stylesheets/page_bundles/ide.scss5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/assets/stylesheets/page_bundles/ide.scss b/app/assets/stylesheets/page_bundles/ide.scss
index 551c7cf5deb..ba126d59eef 100644
--- a/app/assets/stylesheets/page_bundles/ide.scss
+++ b/app/assets/stylesheets/page_bundles/ide.scss
@@ -1188,7 +1188,7 @@ $ide-commit-header-height: 48px;
.input-icon {
right: auto;
- left: 26px;
+ left: 10px;
top: 50%;
transform: translateY(-50%);
}
@@ -1216,11 +1216,10 @@ $ide-commit-header-height: 48px;
}
.ide-search-list-empty {
- height: 230px;
+ height: 69px;
}
.ide-merge-requests-dropdown-content {
- min-height: 230px;
max-height: 470px;
}