Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ export const DocumentViewModeToggle = ({
margin-left: ${useEuiPaddingSize('s')};
`;

const betaBadgeCss = css`
vertical-align: middle;
`;

const showViewModeToggle = uiSettings.get(SHOW_FIELD_STATISTICS) ?? false;

if (!showViewModeToggle) {
Expand Down Expand Up @@ -77,6 +81,7 @@ export const DocumentViewModeToggle = ({
})}
size="s"
className="fieldStatsBetaBadge"
css={betaBadgeCss}
/>
</EuiFlexItem>
</EuiFlexGroup>
Expand Down

0 comments on commit 0a3b9e4

Please sign in to comment.