icono icon indicating copy to clipboard operation
icono copied to clipboard

Should explicitly set `border-box: content-box` for :before/:after, if needed

Open jkjustjoshing opened this issue 6 years ago • 0 comments

I'm trying to use icono-chain with a Bootstrap-style CSS reset. One part of this is:

* {
    box-sizing: border-box;
}

However, it seems that icono assumes the box sizing on the :before and :after elements will be content-box (browser default). Since setting the box-sizing of every element to border-box is fairly common, content-box should explicitly be set on [class*="icono-"]:before, [class*="icono-"]:after.

jkjustjoshing avatar Oct 23 '18 14:10 jkjustjoshing