Use inline-block for grid items (bug 869386)