Commit 9abc4ce6 authored by Simon Knox's avatar Simon Knox

Fix focus mode on boards

parent b7dc966a
...@@ -430,7 +430,7 @@ ...@@ -430,7 +430,7 @@
height: $input-height; height: $input-height;
} }
.issue-boards-content { .issue-boards-content:not(.breadcrumbs) {
isolation: isolate; isolation: isolate;
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- @no_breadcrumb_container = true - @no_breadcrumb_container = true
- @no_container = true - @no_container = true
- @content_wrapper_class = "#{@content_wrapper_class} gl-relative" - @content_wrapper_class = "#{@content_wrapper_class} gl-relative"
- @content_class = "js-focus-mode-board" - @content_class = "issue-boards-content js-focus-mode-board"
- is_epic_board = board.to_type == "EpicBoard" - is_epic_board = board.to_type == "EpicBoard"
- if is_epic_board - if is_epic_board
- breadcrumb_title _("Epic Boards") - breadcrumb_title _("Epic Boards")
......
...@@ -48,7 +48,7 @@ module QA ...@@ -48,7 +48,7 @@ module QA
# with the attribute `data-qa-selector` since such element is not unique when the # with the attribute `data-qa-selector` since such element is not unique when the
# `is-focused` class is not set, and it was not possible to find a better solution. # `is-focused` class is not set, and it was not possible to find a better solution.
def focused_board def focused_board
find('.js-focus-mode-board.is-focused') find('.issue-boards-content.js-focus-mode-board.is-focused')
end end
def boards_dropdown def boards_dropdown
......
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