regression: RelativeUrlSettingInput not stretching filling the available width

Merged
NA
4mo ago
+11-9

Proposed changes (including videos or screenshots)

Root cause: v0.79.1 (https://github.com/RocketChat/fuselage/pull/2024) added width: 0 to the shared .rcx-input-box rule. A definite width disables the cross‑axis stretch of a flex column item, so the input stops growing to the container width and falls back to min-width: 8rem. In v0.79.0 and earlier the rule had no width, so it stretched correctly.

Where it shows: in Rocket.Chat admin settings, relativeUrl settings (e.g. the OAuth "Callback URL" fields) render a readonly UrlInput directly inside a Field, and appears collapsed to ~128px with the URL truncated, while sibling text/secret fields (which sit inside a FieldRow) look fine.

Suggested fix: Wrapping the <UrlInput> component within a <FieldRow> component, as with every other setting

Issue(s)

CORE-2348 [Regression] OAuth callback URL fields render too narrow in admin settings

Steps to test or reproduce

Further comments

Summary by CodeRabbit

  • UI Improvements
    • Adjusted the layout of the relative URL setting input so the URL field now appears in its own row, improving spacing and readability in admin settings.
    • Preserved existing behavior for editing, autocomplete, and URL handling.