How to fix lewmar portlight leak at the rubber list

It drips a bit form some of the portlights when it rains hard and I attempt to fix the problem by sealing the rubber edge with some Trans 7 clear. Time will show if it will work, another option is to replace the rubber edge If my attempt is a failure.