Commit 2838bb4d authored by Clement Ho's avatar Clement Ho

Merge branch '46698-project-homepage-plus-dropdown-on-mobile-screens' into 'master'

Resolve "Project homepage > Plus dropdown on mobile screens"

Closes #46698

See merge request gitlab-org/gitlab-ce!19417
parents de204529 be248615
.table-holder {
margin: 0;
overflow: auto;
}
table {
......
......@@ -6,7 +6,7 @@
= render 'shared/ref_switcher', destination: 'tree', path: @path, show_create: true
- if on_top_of_branch?
- addtotree_toggle_attributes = { href: '#', 'data-toggle': 'dropdown', 'data-target': '.add-to-tree-dropdown' }
- addtotree_toggle_attributes = { href: '#', 'data-toggle': 'dropdown', 'data-target': '.add-to-tree-dropdown', 'data-boundary': 'window' }
- else
- addtotree_toggle_attributes = { title: _("You can only add files when you are on a branch"), data: { container: 'body' }, class: 'disabled has-tooltip' }
......
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