Adjust link layout.