From 79661d8165351d824bf5074311b1fbc62b9ef0fe Mon Sep 17 00:00:00 2001 From: Sirazh Gabdullin Date: Mon, 10 Apr 2023 23:48:20 +0600 Subject: [PATCH 1/3] Fix table not adjusting height on initial page load Signed-off-by: Sirazh Gabdullin --- .../vis_type_table/public/components/table_vis_app.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/plugins/vis_type_table/public/components/table_vis_app.scss b/src/plugins/vis_type_table/public/components/table_vis_app.scss index af6558774da3..01e3413dc31d 100644 --- a/src/plugins/vis_type_table/public/components/table_vis_app.scss +++ b/src/plugins/vis_type_table/public/components/table_vis_app.scss @@ -1,8 +1,15 @@ +.visTable { + display: flex; + flex-direction: column; + flex: 1 0 0; + overflow: auto; +} + .visTable__group { padding: $euiSizeS; margin-bottom: $euiSizeL; - > h3 { + >h3 { text-align: center; } } From 348a35c16c42fa9c823b0ec7b3dce72bc5db0439 Mon Sep 17 00:00:00 2001 From: Sirazh Gabdullin Date: Mon, 10 Apr 2023 23:59:20 +0600 Subject: [PATCH 2/3] formatting typo fix Signed-off-by: Sirazh Gabdullin --- src/plugins/vis_type_table/public/components/table_vis_app.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/vis_type_table/public/components/table_vis_app.scss b/src/plugins/vis_type_table/public/components/table_vis_app.scss index 01e3413dc31d..876847667418 100644 --- a/src/plugins/vis_type_table/public/components/table_vis_app.scss +++ b/src/plugins/vis_type_table/public/components/table_vis_app.scss @@ -9,7 +9,7 @@ padding: $euiSizeS; margin-bottom: $euiSizeL; - >h3 { + > h3 { text-align: center; } } From 084e9aaa1ae41859df39059679f81793b86ce81a Mon Sep 17 00:00:00 2001 From: Sirazh Gabdullin Date: Tue, 11 Apr 2023 00:05:40 +0600 Subject: [PATCH 3/3] Update CHANGELOG.md Signed-off-by: Sirazh Gabdullin --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38464c637494..884c5b91f423 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -114,6 +114,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Clean up and rebuild `@osd/pm` ([#3570](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3570)) - [Vega] Add Filter custom label for opensearchDashboardsAddFilter ([#3640](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3640)) - [Timeline] Fix y-axis label color in dark mode ([#3698](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3698)) +- [Table Visualization] Fix data table not adjusting height on the initial load ([#3816](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3816)) ### 🚞 Infrastructure