Commit 13d77735 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'issue-boards-milestone-dropdown' into 'master'

Fixed positioning of milestone dropdown in create board dropdown

Closes gitlab-ce#32837

See merge request !1972
parents 149a535b 3aacae20
...@@ -72,8 +72,6 @@ import extraMilestones from '../mixins/extra_milestones'; ...@@ -72,8 +72,6 @@ import extraMilestones from '../mixins/extra_milestones';
const milestoneDropdown = this.$refs.milestoneDropdown; const milestoneDropdown = this.$refs.milestoneDropdown;
const rect = e.target.getBoundingClientRect(); const rect = e.target.getBoundingClientRect();
milestoneDropdown.style.left = `${rect.left}px`;
milestoneDropdown.style.top = `${rect.bottom}px`;
milestoneDropdown.style.width = `${rect.width}px`; milestoneDropdown.style.width = `${rect.width}px`;
}); });
} }
......
...@@ -669,6 +669,9 @@ ...@@ -669,6 +669,9 @@
.dropdown-menu { .dropdown-menu {
position: fixed; position: fixed;
left: 10px;
top: 175px;
min-width: 200px;
} }
} }
......
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