Skip to content

Commit

Permalink
[navigation]feat: update border style when new left nav expanded (#8489
Browse files Browse the repository at this point in the history
…) (#8509)

* feat: update border style



* Changeset file for PR #8489 created/updated

* feat: update



* feat: update border color



---------



(cherry picked from commit 2f90def)

Signed-off-by: SuZhou-Joe <[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>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 7, 2024
1 parent 0fcc10a commit 27978bd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 20 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/8489.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Update border style when new left nav expanded ([#8489](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8489))

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 @@ -102,11 +102,11 @@
}

&.bottom-container-expanded {
@include euiBottomShadowLarge($euiColorMediumShade, 0.1, true, true);

gap: 16px;
padding-top: $euiSizeM;
padding-bottom: $euiSizeM;
border-top: $euiBorderThin;
border-color: $euiColorMediumShade;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@
*/

import './collapsible_nav_group_enabled.scss';
import {
EuiFlyout,
EuiPanel,
EuiHorizontalRule,
EuiHideFor,
EuiFlyoutProps,
EuiShowFor,
} from '@elastic/eui';
import { EuiFlyout, EuiPanel, EuiHideFor, EuiFlyoutProps, EuiShowFor } from '@elastic/eui';
import { i18n } from '@osd/i18n';
import React, { useMemo } from 'react';
import useObservable from 'react-use/lib/useObservable';
Expand Down Expand Up @@ -250,7 +243,6 @@ export function CollapsibleNavGroupEnabled({
// This element is used to push icons to the bottom of left navigation when collapsed
!isNavOpen ? <div className="flex-1-container" /> : null
}
<EuiHorizontalRule margin="none" />
<div
className={classNames({
'bottom-container': true,
Expand Down

0 comments on commit 27978bd

Please sign in to comment.