Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move header title and actions out of 16 column skeleton #966

Closed

Conversation

Murph33
Copy link
Contributor

@Murph33 Murph33 commented Mar 4, 2016

We are moving away from the skeleton and would like to move the page title and page actions out to the edges. This is a stripped down version of #959 implementing @graygilmore's suggestions since we weren't sure about making the header sticky at crunch time (opinions at #630 please).

Before

before-header

After

after-split

@Murph33 Murph33 changed the title Move header texts out of 16 column skeleton Move header title and actions out of 16 column skeleton Mar 4, 2016
@Murph33 Murph33 force-pushed the improve_admin_header_spacing branch from 72a266b to 58dbbe9 Compare March 4, 2016 23:07
Use a flexbox to align the content in the content-header.  This is
semantically better than using a table display for non-tabular data and
is a move away from the 16 column skeleton that we will be eliminating.
@Murph33 Murph33 force-pushed the improve_admin_header_spacing branch from 58dbbe9 to 308d7aa Compare March 4, 2016 23:19
</div>
</div>
<% if content_for?(:page_actions) %>
<ul class="header-actions page-actions inline-menu">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a feeling like we might want to keep the data-hook="toolbar" here. @jhawthorn what are your thoughts on maintaining that kind of thing?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. We gain nothing by removing it here.

Murph33 added 2 commits March 23, 2016 09:02
This div is an extraneous element to the page polluting the markup so it
will be removed.
This is not touched anywhere in the code base and should be removed.
@Murph33 Murph33 force-pushed the improve_admin_header_spacing branch from 308d7aa to 9467853 Compare March 23, 2016 16:02
@jhawthorn
Copy link
Contributor

Merged in #1012

@jhawthorn jhawthorn closed this Mar 29, 2016
@Murph33 Murph33 deleted the improve_admin_header_spacing branch March 29, 2016 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants