add default .icon class and smart layout