Use inline-block for grid items (bug 869386)

https://bugzilla.mozilla.org/show_bug.cgi?id=869386