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

[ionic v4.beta.3] no-margin not working as expected on card #15223

Closed
stalinkay opened this issue Aug 18, 2018 · 3 comments
Closed

[ionic v4.beta.3] no-margin not working as expected on card #15223

stalinkay opened this issue Aug 18, 2018 · 3 comments

Comments

@stalinkay
Copy link

stalinkay commented Aug 18, 2018

Bug Report

Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.

Ionic:

   ionic (Ionic CLI)          : 4.0.6 (/usr/local/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.3
   @angular-devkit/core       : 0.7.0-rc.3
   @angular-devkit/schematics : 0.7.0-rc.3
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0
   @ionic/schematics-angular  : 1.0.1

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : ios 4.5.5

System:

   Android SDK Tools : 26.1.1
   ios-deploy        : 1.9.2
   ios-sim           : 6.1.2
   NodeJS            : v10.8.0 (/usr/local/Cellar/node/10.8.0/bin/node)
   npm               : 6.3.0
   OS                : macOS High Sierra
   Xcode             : Xcode 9.4.1 Build version 9F2000

Environment:

   ANDROID_HOME : /usr/local/share/android-sdk

Describe the Bug
The margin on the right side of the card is not updated to match the left side of the card.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Create a new ionic project with ionic start myApp sidemenu
  2. Add a card with no-margin set

Related Code

<ion-content padding>
  <ion-card>
    <ion-img src="https://picsum.photos/200/300/?random"></ion-img>

    <ion-card-content>
      <ion-card-title>My Title</ion-card-title>
      <p>My description</p>
    </ion-card-content>
  </ion-card>
</ion-content>

Expected Behavior
With no-margin set, the card left and right margin should match.

Additional Context
See attached screen shot 2018-08-18 at 12 06 06 pm

@ionitron-bot ionitron-bot bot added the triage label Aug 18, 2018
@stalinkay stalinkay changed the title [ionic v4.beta.3] [ionic v4.beta.3] no-margin not working as expected Aug 18, 2018
@stalinkay stalinkay changed the title [ionic v4.beta.3] no-margin not working as expected [ionic v4.beta.3] no-margin not working as expected on card Aug 18, 2018
@ionitron-bot ionitron-bot bot removed the triage label Aug 20, 2018
@brandyscarney
Copy link
Member

brandyscarney commented Aug 20, 2018

Thanks for the issue! This should be fixed in the beta.4 release.

@stalinkay
Copy link
Author

stalinkay commented Aug 20, 2018 via email

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 19, 2018

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants