Skip to content

Commit

Permalink
make button group smaller and update test
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Wang <weiwangv@amazon.com>
  • Loading branch information
Wei Wang committed Aug 27, 2024
1 parent 96fcf39 commit 7c15a2e
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ export class CreateDataSourceForm extends React.Component<
>
<FormattedMessage
id="dataSourcesManagement.createDataSource.createButtonLabel"
defaultMessage="Create data source"
defaultMessage="Connect to OpenSearch Cluster"
/>
</EuiButton>
</EuiFlexItem>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export const DataSourceHomePanel: React.FC<DataSourceHomePanelProps> = ({
renderComponent: (
<EuiButtonGroup
legend="connection type"
buttonSize="compressed"
options={[
{ id: 'manageOpensearchDataSources', label: 'OpenSearch connections' },
{ id: 'manageDirectQueryDataSources', label: 'Direct query connections' },
Expand Down Expand Up @@ -183,7 +184,6 @@ export const DataSourceHomePanel: React.FC<DataSourceHomePanelProps> = ({
</>
)}
<EuiFlexItem>
<EuiSpacer size="s" />
{selectedTabId === 'manageOpensearchDataSources' && featureFlagStatus && (
<DataSourceTableWithRouter {...props} />
)}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@ export const ManageDirectQueryDataConnectionsTable: React.FC<ManageDirectQueryDa

return (
<EuiPageBody component="div">
<EuiSpacer size="s" />
<EuiFlexGroup justifyContent="center">
<EuiFlexItem grow={false} style={{ width: '100%' }}>
{customSearchBar}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export async function mountManagementSection(
<OpenSearchDashboardsContextProvider services={deps}>
<I18nProvider>
{params.wrapInPage ? (
<EuiPageContent hasShadow={false} hasBorder={false} color="transparent">
<EuiPageContent hasShadow={false} hasBorder={false} color="transparent" paddingSize="m">
{content}
</EuiPageContent>
) : (
Expand Down

0 comments on commit 7c15a2e

Please sign in to comment.