Skip to content

Commit

Permalink
[workspace]fix the workspace selector jump that occurs when hovering …
Browse files Browse the repository at this point in the history
…and clicking. (opensearch-project#8541)

* fix/workspace-selector-jumps-on-hover, fix hover jumping

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

* feat/workspace-selector-jumps-on-hover, change classname

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

* Changeset file for PR opensearch-project#8541 created/updated

* Changeset file for PR opensearch-project#8541 created/updated

* Changeset file for PR opensearch-project#8541 created/updated

---------

Signed-off-by: Qxisylolo <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and sejli committed Oct 21, 2024
1 parent 73937a9 commit 2043971
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/8541.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- The workspace selector jump that occurs when hovering and clicking. ([#8541](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8541))
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
.workspaceNameLabel {
background-color: $euiSideNavBackgroundColor;
}

.workspaceSelectorPopoverButton:hover,
.workspaceSelectorPopoverButton:focus {
transition: none !important;
transform: none !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const WorkspaceSelector = ({ coreStart, registeredUseCases$ }: Props) =>
};
const button = currentWorkspace ? (
<EuiPanel
className="workspaceSelectorPopoverButton"
paddingSize="none"
color="transparent"
hasBorder={false}
Expand Down

0 comments on commit 2043971

Please sign in to comment.