0fb2d66808
**Fixes #15036** Changes: Centered Webhook URL: The webhook URL is now properly centered within its table cell. Conditional Scroll Arrows: The small arrows for horizontal scrolling now only appear when the webhook URL is longer than the width of the cell. This prevents the arrows from being displayed for shorter URLs. Files changed: 1. `packages/twenty-front/src/modules/settings/developers/components/SettingsWebhooksTable.tsx` The grid-template-columns of the StyledTableRow component was changed from a fixed-width layout (444px 68px) to a flexible layout (1fr auto). This allows the first column, which contains the webhook URL, to grow and shrink dynamically based on the available space, which is crucial for proper centering and handling of different URL lengths. 2. `packages/twenty-front/src/modules/settings/developers/components/SettingsDevelopersWebhookTableRow.tsx` The overflow property of the StyledUrlTableCell component was changed from hidden to auto. This ensures that the horizontal scrollbar (the "small arrows") is only displayed when the content of the cell (the webhook URL) overflows the cell's width.The redundant StyledApisFieldTableRow component was removed to simplify the code, as its styles were being overridden by the parent component. How to Test 1. Log in to the application. 2. Go to Settings > API & Webhooks. 4. Add a new webhook with a short URL (e.g., http://localhost:3000). 5. Expected Behavior: The URL should be centered within the table cell, and no scroll arrows should be visible. 6. Add another webhook with a long URL. 7. Expected Behavior: The URL should be centered, and horizontal scroll arrows should be visible, allowing you to scroll to see the entire URL. --------- Co-authored-by: Charles Bochet <charles@twenty.com>