Resize URL path field to match contents