refactor: fix Info text flow

This commit is contained in:
Carlos Valente
2026-05-13 19:58:59 +02:00
committed by Carlos Valente
parent a7e84b9903
commit 1dcb7fb08d
3 changed files with 11 additions and 11 deletions
@@ -89,10 +89,9 @@ export default function AutomationSettingsForm({
<Panel.Section> <Panel.Section>
<Info> <Info>
<p>Control Ontime and share its data with external systems in your workflow.</p> <span>Control Ontime and share its data with external systems in your workflow.</span>
<p>- Automations allow Ontime to send its data on lifecycle triggers.</p> <span>- Automations allow Ontime to send its data on lifecycle triggers.</span>
<p>- OSC Input tells Ontime to listen to messages on the specific port.</p> <span>- OSC Input tells Ontime to listen to messages on the specific port.</span>
<br />
<ExternalLink href={oscApiDocsUrl}>See the docs</ExternalLink> <ExternalLink href={oscApiDocsUrl}>See the docs</ExternalLink>
</Info> </Info>
</Panel.Section> </Panel.Section>
@@ -57,11 +57,11 @@ export default function CustomFieldSettings() {
<Panel.Divider /> <Panel.Divider />
<Panel.Section> <Panel.Section>
<Info> <Info>
Custom fields allow for additional information to be added to an event. <span>Custom fields allow for additional information to be added to an event.</span>
<br /> <span>
<br /> To use custom fields as a data source in an{' '}
To use custom fields as a data source in an{' '} <AppLink search='settings=automation__automations'>Automation</AppLink>, please note the generated key.
<AppLink search='settings=automation__automations'>Automation</AppLink>, please note the generated key. </span>
<ExternalLink href={customFieldsDocsUrl}>See the docs</ExternalLink> <ExternalLink href={customFieldsDocsUrl}>See the docs</ExternalLink>
</Info> </Info>
</Panel.Section> </Panel.Section>
@@ -52,8 +52,9 @@ export default function CustomViews() {
<Panel.Section> <Panel.Section>
<Info> <Info>
Upload one <strong>index.html</strong> per view to <strong>/external/&lt;name&gt;/</strong>. <span>
<br /> Upload one <strong>index.html</strong> per view to <strong>/external/&lt;name&gt;/</strong>.
</span>
External imports are not allowed, include all assets inside the html file. External imports are not allowed, include all assets inside the html file.
<ExternalLink href={customViewsDocs}>See the docs</ExternalLink> <ExternalLink href={customViewsDocs}>See the docs</ExternalLink>
</Info> </Info>