CSS: Make the page title in headers more responsive #4973

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Contributor

MauriceG commented Sep 10, 2012

Titles in page headers always have a left/right margin of 30% for add slots for the header buttons.
This is a lot for headers without buttons or with icon only buttons.
This PR adds two rules to make the margins more responsive.

Limitations:

  • No support for old IE and WP7
  • The markup for links and the title has to be in the right order to support smaller margins for text only buttons (if not, standard margins will be used).

Demo:
http://jsfiddle.net/MauriceG/pxFga/show/light/ (edit: http://jsfiddle.net/MauriceG/pxFga/)

@MauriceG MauriceG CSS: Make the title in headers more responsive
Titles in headers always have a margin left/right of 30% which is a lot for headers without buttons or with icon only buttons.
This PR adds two rules make the margins more responsive.

**Limitations:**
No support for old IE and WP7
The markup for links and the title has to be in the right order to support smaller margins for text only buttons (if not, standard margins will be used).
(The docs unfortunately do not)

**Demo:**
http://jsfiddle.net/MauriceG/pxFga/show/light/ (edit: http://jsfiddle.net/MauriceG/pxFga/)
2b883a9
Contributor

toddparker commented Sep 10, 2012

Thanks @MauriceG, looks good. I'll do some testing...

Member

jaspermdegroot commented Dec 13, 2012

@MauriceG

Although I like the idea to give the title some more space, this CSS is not correct so I am closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment