CON-1809 | Fix overlapping of anchored element

could you break this logic into two lines for better readability