Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Make the header sticky and adjust the display of the page title and actions in response to #630. I'd like to draw attention to leaving the
<div class="toolbar" data-hook="toolbar">
in. I wasn't certain it would be safe to take this out since someone might be hooking into the toolbar data-hook and it makes no difference in how the page renders. Also I took out the conditional for the page title to render the<h1>
element. I made this choice since the simple concise flex box setup I went with relied on having a title on the page (or at least an empty h1). I believe there are no pages in the admin that don't have content for the page_title. Further, an empty h1 element shouldn't hurt anyone either on the off chance they removed the text for the page_title.Before
(I skipped including a view of the screen scrolled down with no header in view. It seemed pointless)
After