Skip to content

Commit

Permalink
Hide editor specific text area input inline help outside of editor
Browse files Browse the repository at this point in the history
The inline help recommends "open in new tab" to prevent users from
having to reload the Pageflow entry. This only makes sense when
actually editing a Pageflow entry.

REDMINE-20511
  • Loading branch information
tf committed Dec 14, 2023
1 parent 65bf0ee commit d929022
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/assets/stylesheets/pageflow/ui/input/text_area_input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,16 @@
border-bottom: solid 9px var(--ui-surface-color);
border-left: solid 9px transparent;
}

// Hide inline help text that only makes sense when editing a
// Pageflow entry outside the editor
.open_in_new_tab_section .inline_help {
display: none;
}
}

.editor .text_area_input {
.open_in_new_tab_section .inline_help {
display: block;
}
}

0 comments on commit d929022

Please sign in to comment.