forked from opensearch-project/OpenSearch-Dashboards
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG] Fix Discover table panel size auto adjust in both Discover and …
…Dashboard * Add React.memo on parent comp * Restore embeddable panel style Issue Resolve opensearch-project#5440 opensearch-project#5415 Signed-off-by: ananzh <ananzh@amazon.com>
- Loading branch information
Showing
5 changed files
with
37 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/plugins/discover/public/embeddable/search_embeddable.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* 1. We want the osdDocTable__container to scroll only when embedded in an embeddable panel | ||
* 2. Force a better looking scrollbar | ||
*/ | ||
.embPanel { | ||
.osdDocTable__container { | ||
@include euiScrollBar; /* 2 */ | ||
|
||
flex: 1 1 0; /* 1 */ | ||
overflow: auto; /* 1 */ | ||
|
||
.dscDiscoverGrid { | ||
flex-direction: column; | ||
flex: 1 1 0; | ||
overflow: auto; | ||
|
||
@include euiScrollBar; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters