add display inline and inline-block for responsive visibility