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 (#7586) (#7642)

(cherry picked from commit 045e55f)

Signed-off-by: Zhongnan Su <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent db4cd83 commit 9f5d5bc
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 9f5d5bc

Please sign in to comment.