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

Style icons on top of text in an option button #5352

Closed
brandyscarney opened this issue Feb 6, 2016 · 5 comments
Closed

Style icons on top of text in an option button #5352

brandyscarney opened this issue Feb 6, 2016 · 5 comments
Assignees

Comments

@brandyscarney
Copy link
Member

screen shot 2016-02-05 at 7 02 43 pm

@brandyscarney brandyscarney self-assigned this Feb 6, 2016
@brandyscarney
Copy link
Member Author

Following styles achieve this:

  ion-item-options button {
    font-size: 14px;
    flex-direction: column;
  }

  ion-item-options ion-icon {
    padding-right: 0;
    padding-bottom: 0.3em;
  }

if it is desired

screen shot 2016-02-05 at 7 10 35 pm

@manucorporat
Copy link
Contributor

@brandyscarney flex does not work in safari in button elements, in fact I am preparing a PR to get rid of it.

@brandyscarney
Copy link
Member Author

@manucorporat ok, don't worry we won't touch the buttons while you're working on them. 😜

@manucorporat
Copy link
Contributor

@brandyscarney #5363
^ it also adds an [horizontal] attribute to display the icons as usual.

I am not good naming things in css yet, maybe "horizontal" is not a good name, but I hope you understand the idea.

@brandyscarney
Copy link
Member Author

Thanks for the PR! Closing this issue. :)

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 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