preview style in repository file input