Skip to content

Commit

Permalink
[Table Visualization] Remove custom styling for text-align:center in …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
github-actions[bot] committed Jun 1, 2023
1 parent 7e46ea1 commit b4cfcd0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
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 b4cfcd0

Please sign in to comment.