Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.x] [ML] Fixes to text spacings in data visualizer cards (#29438) #29499

Merged
merged 1 commit into from
Jan 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.ml-field-title-bar {
color: $euiColorEmptyShade;
font-size: $euiFontSizeL;
@include euiFontSizeL;
text-align: center;
border-radius: $euiBorderRadius $euiBorderRadius 0px 0px;
padding: $euiSizeXS $euiSizeS;
padding-bottom: $euiSizeXS/2;

.field-type-icon {
vertical-align: middle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function FieldStatsCard({ field }) {
<React.Fragment>
<div className="stats">
<div className="stat">
<i className="fa fa-files-o" aria-hidden="true" />
<i className="fa fa-files-o" aria-hidden="true" />&nbsp;
<FormattedMessage
id="xpack.ml.fileDatavisualizer.fieldStatsCard.documentsCountDescription"
defaultMessage="{fieldCount, plural, zero {# document} one {# document} other {# documents}} ({fieldPercent}%)"
Expand All @@ -48,7 +48,7 @@ export function FieldStatsCard({ field }) {
/>
</div>
<div className="stat">
<i className="fa fa-cubes" aria-hidden="true" />
<i className="fa fa-cubes" aria-hidden="true" />&nbsp;
<FormattedMessage
id="xpack.ml.fileDatavisualizer.fieldStatsCard.distinctCountDescription"
defaultMessage="{fieldCardinality} distinct {fieldCardinality, plural, zero {value} one {value} other {values}}"
Expand Down