Revert "inline-block to fix safari bug"

This reverts commit a4d9f6aa0573f8d23b0a44a821089b260cf01e66.