changed inline style for compact class