-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
text-center css utility doesn't center text #10567
Comments
Thanks for the issue! This was caused by moving the css from |
hello here, I confirme I have this issue running in my project since I update ionic, can you correct this ? or give us some temporary correction ? |
This should no longer be an issue since v |
@brandyscarney Sure, but migration to the v3.1.0 from v2.0.0 is more painful than to v2.3.0 for example. So I had to do such workaround. |
@F1oyd Are there some issues in particular that are making it hard to upgrade? The steps to go from v2 to v3 should be fairly simple, but maybe you are running into some blocking issues or steps that aren't documented? https://github.com/driftyco/ionic/blob/master/CHANGELOG.md#300-2017-04-05 |
@brandyscarney We use a couple of third-party libs which don't work with angular 4. If it is possible it will be more expensive. |
Hey @F1oyd , what libraries are you using that don't work with Angular 4? |
Okay. you made me do it. So I couldn't find any unsupported third-party lib in my app, but hypothetically it could be. |
Hypothetically, yes. But this is something to note when there is a major version change (2.x => 4.x for angular). Any libraries that you have that are based on Angular should have their supported version listed in their dependencies. That and they should release an update that is also a major version change.
We do list all of our breaking changes in the change log and note when things have been changed or removed from the framework. So we try to make sure everyone is on the same page.
We're not perfect, we've accepted this. But when there are unforeseen issues, we do make sure to get a patch release out to fix our mistakes 😄 |
HI @brandyscarney , Im using latest ionic 3.7.0 and in Debug mode everything is working perfectly fine but in Prod mode , I think the inbuilt Ionic CSS doesn't load also text-center doesn't work. There is no padding and margin on ion-items |
Hello @shivamsngh, so it sounds like
Can you verify that your |
Ionic Info:
global packages:
local packages:
System:
I just downgraded my apps-scripts to 2.0.0 from 2.1.3 due to missing css styles. I think the best possible scenario of my situation is in apps-scripts issue 1120 ionic-team/ionic-app-scripts#1120 . |
@brandyscarney ohh i think i got the problem , it was my ionic-angular version that was 3.5.3 instead of 3.6.0, thank so much for help brandy.. 👍 Working for me now at, cli packages:
global packages:
local packages:
System:
|
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Ionic version: (check one with "x")
[ ] 1.x
[X] 2.x
I'm submitting a ... (check one with "x")
[X] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
text-center css utility doesn't center the text.
Expected behavior:
text-center css utility center align the text.
Steps to reproduce:
use ionic version 2.1.0
Related code:
Other information:
this issue is not there with 2.0.1
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: