-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
content: --inner-min-width is missing from ion-item's CSS Custom Properties #3362
Comments
Thank you for the issue. This property was intentionally left undocumented as noted in the PR description:
Did you have a use case for changing the prop's value? |
Ah, shoot sorry about that! I missed that comment. Yes, when I upgraded my app, I had a styling regression that required overriding the property (recording: https://share.zight.com/z8uB7A0K). The variable does seem to be exposed already (i.e., I can override it) even though it's undocumented? |
Could you post a Stackblitz app or Github repo showing the issue you're facing (with only the code necessary to reproduce the problem)? |
@amandaejohnston Sure! Is there a Stackblitz Ionic starter template or a good recent example to fork? |
You can make a blank starter app. I'll label this as "needs reproduction" so the info shows up 👀 |
Thanks for the issue! This issue has been labeled as Please provide easy to follow steps for us to reproduce this issue. |
Oh, I forgot the docs repo has a different template for that 😆 The contributing guide has some tips: https://ionicframework.com/docs/contributing/how-to-contribute#how-to-create-a-reproduction |
@amandaejohnston Here you go! https://stackblitz.com/~/github.com/chawes13/ionic-min-padding-repro You'll notice that the social media links in the menu are nicely aligned. If you edit the package.json to use If you navigate to |
Thank you! I did some digging internally, and as it turns out, we're actually looking at removing the
I tried this with your provided repro and it seems to have resolved things, but could you give it a try on your end and let me know if you encounter any trouble? |
Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still an issue, please create a new issue and ensure the template is fully filled out. Thank you for using Ionic! |
URL
https://ionicframework.com/docs/api/item#css-custom-properties-1
Issue Description
Documentation for recently added
--inner-min-width
forion-item
is missing. This can be resolved by adding an@prop --inner-min-width
comment in the JSDoc comment of https://github.com/ionic-team/ionic-framework/blob/fbada1d1703cfea87224ced56eaf39caf9322763/core/src/components/item/item.scssPR for newly added property: ionic-team/ionic-framework#28631
The text was updated successfully, but these errors were encountered: