NoDivide / astrum

A lightweight pattern library designed to be included with any web project.
http://astrum.nodividestudio.com
1.54k stars 98 forks source link

applying border to color elements results in float layout breaking #163

Open marcelmoreau opened 6 years ago

marcelmoreau commented 6 years ago

Tell us about the issue you are experiencing

I am laying out a grayscale color palette. The floats are not working as expected due to a border being applied to a light color shade's container. This makes its element 2 pixels taller than other colors. I have made said border blue in my example screenshot. Consider using an inset box-shadow instead of border for the next release. This will not add to its height like a border does.

What behaviour would you expect?

How can this issue be replicated?

Screenshots / Screencast

screen shot 2018-04-02 at 2 43 58 pm

Your environment

Platform: OS Version: Sierra 10.12.6 Node Version: 9.3.0 NPM Version: 5.6.0 Astrum Version: 1.9.5