Skip to content

Commit

Permalink
[Look&Feel] Apply small tabs pattern guidance to remaining OSD experi…
Browse files Browse the repository at this point in the history
…ences (opensearch-project#7586)

Signed-off-by: Zhongnan Su <[email protected]>
  • Loading branch information
zhongnansu authored Aug 7, 2024
1 parent f08dbdf commit 045e55f
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.

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 @@ -99,7 +99,7 @@ export const DataSourceHomePanel: React.FC<DataSourceHomePanelProps> = ({
</EuiFlexItem>
<EuiFlexItem>
<EuiSpacer size="s" />
<EuiTabs>{renderTabs()}</EuiTabs>
<EuiTabs size="s">{renderTabs()}</EuiTabs>
</EuiFlexItem>
<EuiFlexItem>
<EuiSpacer size="s" />
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 @@ -351,7 +351,9 @@ export const AccelerationDetailsFlyout = (props: AccelerationDetailsFlyoutProps)
)}
</EuiFlexGroup>
<EuiSpacer size="m" />
<EuiTabs style={{ marginBottom: '-25px' }}>{renderTabs()}</EuiTabs>
<EuiTabs style={{ marginBottom: '-25px' }} size="s">
{renderTabs()}
</EuiTabs>
</EuiFlyoutHeader>
<EuiFlyoutBody>{renderTabContent(selectedTab)}</EuiFlyoutBody>
{showConfirmationOverlay && operationType && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ export const DirectQueryDataConnectionDetail: React.FC<DirectQueryDataConnection
>
<QueryOrAccelerateData />
</EuiAccordion>
<EuiTabbedContent tabs={tabs} />
<EuiTabbedContent tabs={tabs} size="s" />
</>
)}

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 @@ -96,6 +96,7 @@ export const WorkspaceDetail = (props: WorkspaceDetailProps) => {
tabs={detailTabs}
initialSelectedTab={detailTabs[0]}
autoFocus="selected"
size="s"
/>
</EuiPageBody>
</EuiPage>
Expand Down

0 comments on commit 045e55f

Please sign in to comment.