Skip to content

fix(item-option): add styling for slots other than icon-only - #17711

Merged
brandyscarney merged 15 commits into
masterfrom
docs-item-sliding
Mar 15, 2019
Merged

brandyscarney merged 15 commits into
masterfrom
docs-item-sliding

Conversation

@brandyscarney

@brandyscarney brandyscarney commented Mar 7, 2019 •

Copy link
Copy Markdown
Member

Styles the item option properly when icons are slotted. This was not working before at all for top and bottom slots.

Also:

  • removes the e2e test from item/sliding in favor of all of them being under item-sliding
  • adds more usage examples for all framewroks
  • updates the styling for an anchor option so that it displays properly
  • updates the standalone e2e test to take screenshots of the start icon, top icon, and anchor options
  • updates the interactive e2e test to work locally
  • cleaned up the CSS for start/end icons
  • verified the styles for ben approval 💪

Screen Shot 2019-03-11 at 1 20 08 PM

closes #17737 fixes #17402

it was not working before this at all, also removes the e2e test from item/sliding in favor of all of them being under item-sliding, and adds JS usage

TODO:
- add e2e test with screenshots of this
- verify / clean up CSS design
- add other usage examples
@brandyscarney
brandyscarney marked this pull request as ready for review March 11, 2019 17:24

@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.

This looks really good! Just need to DRY up the test helpers a bit 🎉

@brandyscarney

Copy link
Copy Markdown
Member Author

Good to merge once the build passes 👍

@brandyscarney
brandyscarney merged commit 14f758c into master Mar 15, 2019
@brandyscarney
brandyscarney deleted the docs-item-sliding branch March 15, 2019 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: item sliding options are not applying layout properly [Ionic v4] (ion-item-option + routerlink) > ion-icon => icon displays too low

3 participants