Commit 473d36d1 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch 'fixed-dropdown-hover-styles' into 'master'

Fixed dropdown hover styles

Closes #64330 and #64340

See merge request gitlab-org/gitlab-ce!30534
parents e787676b 91fff39e
......@@ -105,7 +105,7 @@ export default {
</script>
<template>
<div class="form-group">
<div class="confidential-merge-request-fork-group form-group">
<label>{{ __('Project') }}</label>
<div>
<dropdown
......@@ -126,6 +126,14 @@ export default {
{{ __('No forks available to you.') }}<br />
<span v-html="noForkText"></span>
</template>
<gl-link
:href="helpPagePath"
class="w-auto p-0 d-inline-block text-primary bg-transparent"
target="_blank"
>
<span class="sr-only">{{ __('Read more') }}</span>
<i class="fa fa-question-circle" aria-hidden="true"></i>
</gl-link>
</p>
</div>
</div>
......
......@@ -63,7 +63,8 @@
margin-top: 11px;
}
.dropdown-toggle {
.dropdown-toggle,
.confidential-merge-request-fork-group .dropdown-toggle {
padding: 6px 8px 6px 10px;
background-color: $white-light;
color: $gl-text-color;
......@@ -288,7 +289,7 @@
padding: 0 1px;
a,
button:not(.dropdown-toggle,.ci-action-icon-container),
button,
.menu-item {
@include dropdown-link;
}
......
......@@ -2,7 +2,7 @@
exports[`Confidential merge request project form group component renders empty state when response is empty 1`] = `
<div
class="form-group"
class="confidential-merge-request-fork-group form-group"
>
<label>
Project
......@@ -28,6 +28,23 @@ exports[`Confidential merge request project form group component renders empty s
</a>
and set the forks visiblity to private.
</span>
<gllink-stub
class="w-auto p-0 d-inline-block text-primary bg-transparent"
href="/help"
target="_blank"
>
<span
class="sr-only"
>
Read more
</span>
<i
aria-hidden="true"
class="fa fa-question-circle"
/>
</gllink-stub>
</p>
</div>
</div>
......@@ -35,7 +52,7 @@ exports[`Confidential merge request project form group component renders empty s
exports[`Confidential merge request project form group component renders fork dropdown 1`] = `
<div
class="form-group"
class="confidential-merge-request-fork-group form-group"
>
<label>
Project
......@@ -61,6 +78,23 @@ exports[`Confidential merge request project form group component renders fork dr
</a>
and set the forks visiblity to private.
</span>
<gllink-stub
class="w-auto p-0 d-inline-block text-primary bg-transparent"
href="/help"
target="_blank"
>
<span
class="sr-only"
>
Read more
</span>
<i
aria-hidden="true"
class="fa fa-question-circle"
/>
</gllink-stub>
</p>
</div>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment