Skip to content

Commit

Permalink
fix: data source selector in dev tools tab moved to left (#7347)
Browse files Browse the repository at this point in the history
* fix: style issue that data source selector in dev tools tab moved to left

Signed-off-by: Yulong Ruan <[email protected]>

* Changeset file for PR #7347 created/updated

---------

Signed-off-by: Yulong Ruan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
ruanyl and opensearch-changeset-bot[bot] committed Jul 22, 2024
1 parent d30677d commit 9ce538a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/7347.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Data source selector in dev tools tab moved to left ([#7347](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7347))
1 change: 1 addition & 0 deletions src/plugins/dev_tools/public/application.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ function DevToolsWrapper({
onSelectedDataSource={onChange}
disabled={!dataSourceEnabled}
fullWidth={false}
compressed
/>
</div>
);
Expand Down
8 changes: 7 additions & 1 deletion src/plugins/dev_tools/public/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
}

.devAppDataSourceSelector {
margin: 7px 8px 0 0;
margin: 4px 8px 0 0;
min-width: 400px;
margin-left: auto;
}

.devAppTabs {
display: flex;
flex-flow: row wrap;
}

0 comments on commit 9ce538a

Please sign in to comment.