Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Sizing by attribute should be optional. #16

Open
lastobelus opened this issue Nov 24, 2018 · 0 comments
Open

Sizing by attribute should be optional. #16

lastobelus opened this issue Nov 24, 2018 · 0 comments

Comments

@lastobelus
Copy link

Sizing by width / height makes styling by css difficult; also icons don't scale with user style sheets.

width/height bindings should be optional, and the base style be something like:

.ion__svg {
    overflow: visible;
    display: inline-block;
    height: 1em; /* possibly tweaked so icons match typical font x-heights; I use 1.1em along with margin-top: .05em */
    font-size: inherit;
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants