Skip to content

Commit

Permalink
style: Update sidecar style to align with new page header (#9269)
Browse files Browse the repository at this point in the history
* style: update sidecar style to align with new page header

Signed-off-by: tygao <[email protected]>

* Changeset file for PR #9269 created/updated

---------

Signed-off-by: tygao <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
raintygao and opensearch-changeset-bot[bot] authored Jan 24, 2025
1 parent 0be70a7 commit 2f61e47
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/9269.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Update sidecar style to align with new page header ([#9269](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/9269))

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

4 changes: 2 additions & 2 deletions src/core/public/chrome/ui/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,8 @@ export function Header({
);

const renderPageHeader = () => (
<div>
<EuiHeader className="primaryHeader newTopNavHeader" style={sidecarPaddingStyle}>
<div style={sidecarPaddingStyle}>
<EuiHeader className="primaryHeader newTopNavHeader">
{renderNavToggle()}

<EuiHeaderSection grow={false}>{renderRecentItems()}</EuiHeaderSection>
Expand Down
3 changes: 2 additions & 1 deletion src/core/public/overlays/sidecar/components/sidecar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
}

&.osdSidecarFlyout--dockedTakeover {
width: 100vw !important;
left: 0;
right: 0;
bottom: 0;
flex-direction: column;
padding-top: 8px;
Expand Down

0 comments on commit 2f61e47

Please sign in to comment.