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

bug: ion-note does not center in ion-item in Angular18/Ionic 8 app #3886

Open
donnydg4 opened this issue Nov 21, 2024 · 0 comments
Open

bug: ion-note does not center in ion-item in Angular18/Ionic 8 app #3886

donnydg4 opened this issue Nov 21, 2024 · 0 comments
Labels
triage New issues

Comments

@donnydg4
Copy link

Describe the Bug

image
ion-note does not center in my ion-item. I have tried what I know - I have no global css variables for it. I don't know what's going wrong:

Expected Behavior

ion-note should properly align like in the stackblitz: https://stackblitz.com/edit/angular-4fnrmj?file=src%2Fapp%2Fexample.component.html

image

Steps to Reproduce

I copied over the code from the Ionic stackblitz.
I pasted it into my project and imported everything.
I ran the code and it doesn't align properly

Screenshots

No response

Operating System

Windows 11

Browser

Chrome/Edge

Version

Whatever the newest is

Additional Information

Here is my code:
<ion-card-content> <ion-item [button]="true" lines="none"> <ion-note slot="start">1</ion-note> <ion-label> <h2>H2 Heading</h2> <p>Paragraph</p> </ion-label> <ion-note slot="end">6:11</ion-note> </ion-item> <ion-item lines="none"> <ion-note slot="start">1</ion-note> <ion-label> <h2>H2 Heading</h2> <p>Paragraph</p> </ion-label> <ion-note slot="end">6:11</ion-note> </ion-item> </ion-card-content>
dependencies:
"dependencies": { "@angular/animations": "^18.2.0", "@angular/cdk": "^18.2.0", "@angular/common": "^18.2.0", "@angular/core": "^18.2.0", "@angular/forms": "^18.2.0", "@angular/material": "^18.2.0", "@angular/platform-browser": "^18.2.0", "@angular/platform-browser-dynamic": "^18.2.0", "@angular/router": "^18.2.0", "@capacitor/clipboard": "^6.0.0", "@ionic/angular": "8.4.0", "@ionic/core": "8.4.0", "express": "^4.18.2", "howler": "^2.2.4", "ionicons": "^7.4.0", "ngx-pagination": "^6.0.3", "path": "^0.12.7", "rxjs": "~7.8.0", "swiper": "^9.4.1", "tslib": "^2.2.0", "zone.js": "~0.14.10" },

@donnydg4 donnydg4 added the triage New issues label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage New issues
Projects
None yet
Development

No branches or pull requests

1 participant