adjust style in smaller resolution