Fix css inheritance