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

Fix for issue 2521 #3055

Merged
merged 2 commits into from
May 9, 2016
Merged

Fix for issue 2521 #3055

merged 2 commits into from
May 9, 2016

Conversation

elksson
Copy link

@elksson elksson commented Feb 9, 2015

Please see comments on this pull request
#2988

This fix resolves the issue with subheaders and subfooters not displaying the title correctly in the page.
@adamdbradley
Copy link
Contributor

Can you please put together a codepen showing what it fixes, and one what devices/browsers/platforms? Display block may very well be there for a reason for a certain platform/browser. So while it may fix your scenario, I need to test it on all scenarios.

@42shadow42
Copy link

I have created a code-pen showing what is broken. In the CSS section I have included commented CSS that simulates the fix as suggested. Please note disabling the removed styles in the debugger WILL NOT resolve the issue, but removing them from the CSS will.

http://codepen.io/42shadow42/pen/Jopozg

@adamdbradley
Copy link
Contributor

Sorry but I'm not seeing the differences? On which device/browser/platform/version is the issue happening on? Can you provide a before and after screen shot?

@42shadow42
Copy link

I encounter the issue in Chrome/Firefox/IE.
Before:
image
After:
image

Notice the title that says "Where did i go?" is not present in the first image.

Also if it helps, according to change logs. The display: block; was added during commit 659e0e0, which appears to be a CSS refactor. The notes indicate the flex styling was removed for being unnecessary.

@danbucholtz danbucholtz merged commit 01ab8b0 into ionic-team:master May 9, 2016
@danbucholtz
Copy link
Contributor

Hi @elksson,

This seems to be working. Nice work. Thanks for contributing to Ionic!

Thanks,
Dan

@alextrs
Copy link

alextrs commented May 16, 2016

This change breaks "grid" system in header. Take a look at http://codepen.io/alextrs/pen/RamWZO. Switch to previous version and you will see the expected behaviour.

Thanks

@alanmilinovic
Copy link

@alextrs +1

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.

7 participants