Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Look&Feel] Update paragraph text sizes across remaining OSD #7603

Merged
Merged
Prev Previous commit
Next Next commit
Updated paragraph size
Signed-off-by: Dan Dong <danieldong51@gmail.com>
  • Loading branch information
danieldong51 committed Aug 2, 2024
commit ccc4d9cf7c62d0be9358fe1dfd18355c606ac885
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ export class CreateDataSourceForm extends React.Component<
<EuiSpacer size="m" />

<EuiCompressedFormRow>
<EuiText>
<EuiText size="s">
<FormattedMessage
id="dataSourcesManagement.createDataSource.authenticationMethodDescription"
defaultMessage="Enter the authentication details to access the endpoint."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ export const AccelerationTable = ({
<>
<EuiFlexGroup direction="row" alignItems="center">
<EuiFlexItem>
<EuiText>
<EuiText size="s">
<h2 className="panel-title">{ACC_PANEL_TITLE}</h2>
{ACC_PANEL_DESC}
<p> {ACC_PANEL_DESC} </p>
</EuiText>
</EuiFlexItem>
<EuiFlexItem grow={false}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ export const AssociatedObjectsTab: React.FC<AssociatedObjectsTabProps> = (props)
return (
<EuiFlexGroup direction="row" alignItems="center">
<EuiFlexItem>
<EuiText size="m">
<EuiText size="s">
<h2 className="panel-title">{panelTitle}</h2>
{panelDescription}
<p> {panelDescription} </p>
</EuiText>
</EuiFlexItem>
<EuiFlexItem grow={false}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ export const AccessControlTab = (props: AccessControlTabProps) => {
return (
<EuiFlexGroup direction="row">
<EuiFlexItem>
<EuiText size="m">
<EuiText size="s">
<h2 className="panel-title">Access control</h2>
Control which OpenSearch users have access to this data source.
<p> Control which OpenSearch users have access to this data source. </p>
</EuiText>
</EuiFlexItem>
<EuiFlexItem grow={false}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -603,20 +603,22 @@ export class FieldEditor extends PureComponent<FieldEdiorProps, FieldEditorState

<EuiCompressedFormRow>
<Fragment>
<EuiText>
<EuiText size="s">
<FormattedMessage
id="indexPatternManagement.script.accessWithLabel"
defaultMessage="Access fields with {code}."
values={{ code: <code>{`doc['some_field'].value`}</code> }}
/>
</EuiText>
<br />
<EuiLink onClick={this.showScriptingHelp} data-test-subj="scriptedFieldsHelpLink">
<FormattedMessage
id="indexPatternManagement.script.getHelpLabel"
defaultMessage="Get help with the syntax and preview the results of your script."
/>
</EuiLink>
<EuiText size="s">
<EuiLink onClick={this.showScriptingHelp} data-test-subj="scriptedFieldsHelpLink">
<FormattedMessage
id="indexPatternManagement.script.getHelpLabel"
defaultMessage="Get help with the syntax and preview the results of your script."
/>
</EuiLink>
</EuiText>
</Fragment>
</EuiCompressedFormRow>
</Fragment>
Expand Down