add inline-block layout mode