Skip to content

fix(angular): remove invalid z-index style - #27559

Merged
sean-perkins merged 1 commit into
mainfrom
sp/angular-tabs-styles
May 30, 2023
Merged

sean-perkins merged 1 commit into
mainfrom
sp/angular-tabs-styles

Conversation

@sean-perkins

Copy link
Copy Markdown
Contributor

Issue number: N/A


What is the current behavior?

The Angular implementation of ion-tabs uses SASS styles in the inline usage for styles:

styles: [`
  :host {
    z-index: $z-index-page-container;
  }
`]

However Angular is expecting CSS mark-up by default. This results in an invalid value being assigned to the z-index.

image (10)

What is the new behavior?

  • Removes the invalid style from the tabs stylesheet
  • Removes unnecessary leading whitespace from the template

Does this introduce a breaking change?

  • Yes
  • No

Other information

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions Bot added the package: angular @ionic/angular package label May 25, 2023
@sean-perkins
sean-perkins requested review from a team, brandyscarney and liamdebeasi and removed request for a team and brandyscarney May 25, 2023 20:31

@liamdebeasi liamdebeasi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@sean-perkins
sean-perkins added this pull request to the merge queue May 30, 2023
Merged via the queue into main with commit 2ce00cf May 30, 2023
@sean-perkins
sean-perkins deleted the sp/angular-tabs-styles branch May 30, 2023 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants