try to use `display: inline-block` without width.