[ML] Fixes alignment of Anomaly Explorer swim lane annotations label on Firefox (#130274)

This commit is contained in:
Pete Harverson 2022-04-14 17:35:12 +01:00 committed by GitHub
parent b95c4f897e
commit 8ef5691122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ export const SwimlaneAnnotationContainer: FC<SwimlaneAnnotationContainerProps> =
)
.attr('x', Y_AXIS_LABEL_WIDTH - Y_AXIS_LABEL_PADDING)
.attr('y', ANNOTATION_CONTAINER_HEIGHT / 2)
.attr('alignment-baseline', 'middle')
.attr('dominant-baseline', 'middle')
.style('fill', euiTheme.euiTextSubduedColor)
.style('font-size', euiTheme.euiFontSizeXS);