From e8d2c2579383897a1dd7f9debd359abe8ae8373d Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 20 Jul 2021 09:55:51 +0000 Subject: Add latest changes from gitlab-org/gitlab@14-1-stable-ee --- app/assets/stylesheets/framework/dropdowns.scss | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'app/assets/stylesheets/framework/dropdowns.scss') diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index 894eddbe1a7..144a396ea65 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -30,7 +30,9 @@ .dropdown-menu { @include set-visible; min-height: $dropdown-min-height; - max-height: $dropdown-max-height; + // Prevents double scrollbar on dropdowns that also + // have max-height set on an inner scrollable element + max-height: $dropdown-max-height-lg; overflow-y: auto; &.dropdown-extended-height { @@ -239,7 +241,7 @@ max-width: 500px; margin-top: $dropdown-vertical-offset; margin-bottom: 24px; - font-size: 14px; + font-size: 0.875rem; font-weight: $gl-font-weight-normal; padding: 8px 0; background-color: $white; @@ -931,13 +933,9 @@ header.header-content .dropdown-menu.frequent-items-dropdown-menu { } .frequent-items-list-item-container { - .frequent-items-item-avatar-container, - .frequent-items-item-metadata-container { - flex-shrink: 0; - } - .frequent-items-item-metadata-container { display: flex; + flex-shrink: 0; flex-direction: column; justify-content: center; } @@ -949,12 +947,6 @@ header.header-content .dropdown-menu.frequent-items-dropdown-menu { white-space: nowrap; } - &:hover { - .frequent-items-item-avatar-container .avatar { - border-color: $gray-50; - } - } - .frequent-items-item-title { font-size: $gl-font-size; font-weight: 400; -- cgit v1.2.1