Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/web/src/features/system/StartupSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function StartupSettings({ configuration }: { configuration: CoreInstalla
{configuration.settings.filter((setting) => setting.key !== "OAC_PUBLIC_URL").map((setting) => (
<tr key={setting.key}>
{/* Narrow screens wrap a name after an underscore, never inside a word. */}
<th scope="row"><code className="system-code">{setting.key.split("_").map((part, index, parts) => index < parts.length - 1 ? [`${part}_`, <wbr key={index} />] : part)}</code></th>
<th scope="row"><code className="system-code system-setting-key">{setting.key.split("_").map((part, index, parts) => index < parts.length - 1 ? [`${part}_`, <wbr key={index} />] : part)}</code></th>
<td>
<span className="system-setting-value">
{value(setting)}
Expand Down
5 changes: 5 additions & 0 deletions apps/web/src/features/system/system.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
overflow-wrap: anywhere;
}

/* Startup setting names break only at the <wbr> after each underscore. */
.system-setting-key {
overflow-wrap: normal;
}

.system-muted {
color: var(--ink-3);
}
Expand Down
Loading