Skip to content

Commit 04f816b

Browse files
authored
[Logs UI] Fix font size references after EUI upstream change (#33411)
This fixes the `small` font scale of the log viewer to correctly reference the EUI font size again. Before this fix, the `small` font scale was rendered larger than `medium`. Similarly, the tick labels of the log minimap were being rendered too large. Both resulted from a breaking change of the exported variable names in elastic/eui#1590. fixes #32759
1 parent 5707690 commit 04f816b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x-pack/plugins/infra/public/components/logging/log_minimap/time_ruler.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const TimeRuler: React.SFC<TimeRulerProps> = ({ end, height, start, tickC
4444
TimeRuler.displayName = 'TimeRuler';
4545

4646
const TimeRulerTickLabel = styled.text`
47-
font-size: ${props => props.theme.eui.euiFontSizeXs};
47+
font-size: ${props => props.theme.eui.euiFontSizeXS};
4848
line-height: ${props => props.theme.eui.euiLineHeight};
4949
fill: ${props => props.theme.eui.textColors.subdued};
5050
`;

x-pack/plugins/infra/public/components/logging/log_text_stream/item_field.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const LogTextStreamItemField = styled.div.attrs<{
1515
switchProp('scale', {
1616
large: props.theme.eui.euiFontSizeM,
1717
medium: props.theme.eui.euiFontSizeS,
18-
small: props.theme.eui.euiFontSizeXs,
18+
small: props.theme.eui.euiFontSizeXS,
1919
[switchProp.default]: props.theme.eui.euiFontSize,
2020
})};
2121
line-height: ${props => props.theme.eui.euiLineHeight};

0 commit comments

Comments
 (0)