Skip to content

Commit

Permalink
[Backport 2.x] [Table Visualization] Remove custom styling for text-a…
Browse files Browse the repository at this point in the history
…lign:center in favor of OUI utility class. (#4200)

* [Table Visualization] Remove custom styling for text-align:center in favor of OUI utility class. (#4164)

* remove custom styling in favor of oui utility class

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* Update CHANGELOG.md

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

---------

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>
(cherry picked from commit efbcb69)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

* add changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Manasvini B Suryanarayana <manasvis@amazon.com>
  • Loading branch information
4 people authored Jun 14, 2023
1 parent 473f3a4 commit ec07e4b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- [Multiple DataSource] Refactor dev tool console to use opensearch-js client to send requests ([#3544](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3544))
- [Multiple DataSource] Present the authentication type choices in a drop-down ([#3693](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3693))
- [Table Visualization] Move format table, consolidate types and add unit tests ([#3397](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3397))
- [Table Visualization] Remove custom styling for text-align:center in favor of OUI utility class. ([#4164](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4164))
- Replace the use of `bluebird` in `saved_objects` plugin ([#4026](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4026))

### 🔩 Tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
flex: 0 0 auto;
}

// Style for table component title
.visTable__component__title {
text-align: center;
}

// Modifier for visTables__group when displayed in columns
.visTable__groupInColumns {
flex-direction: row;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const TableVisComponent = ({
return (
<>
{title && (
<EuiTitle size="xs" className="visTable__component__title">
<EuiTitle size="xs" className="eui-textCenter">
<h3>{title}</h3>
</EuiTitle>
)}
Expand Down

0 comments on commit ec07e4b

Please sign in to comment.