Kattixie / portfolio

A minimal AngularJS portfolio for project-oriented folks.
1 stars 0 forks source link

1px space appears underneath gallery items at some widths #11

Closed Kattixie closed 8 years ago

Kattixie commented 8 years ago

This appears in the main view, only at certain width, in the latest version of Chrome (wasn't there prior to upgrade). Doesn't seem to be appearing in other browsers. This may be related to the scrollbar somehow.

Kattixie commented 8 years ago

This is definitely related to how pixels are getting calculated from percentages. It's almost as if the height is sometimes getting rounded up to the nearest pixel. I fixed it for now by fudging the height of the element to 1 pixel less than it really is, but I do wonder if it's a bug in Chrome. Will need to explore this more but for now marking as fixed.